Skip to content

Commit 0a304ac

Browse files
authored
Merge pull request #181 from vassudanagunta/tiny-patch
Remove redundant token from reHtmlBlockOpen
2 parents aee219e + 3e60261 commit 0a304ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/blocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var reHtmlBlockOpen = [
2323
/^<[?]/,
2424
/^<![A-Z]/,
2525
/^<!\[CDATA\[/,
26-
/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|title|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,
26+
/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,
2727
new RegExp('^(?:' + OPENTAG + '|' + CLOSETAG + ')\\s*$', 'i')
2828
];
2929

0 commit comments

Comments
 (0)