Skip to content

Commit 2df33d5

Browse files
committed
Remove source, add search to list of recognized block tags.
A spec 0.31 change we forgot in last release.
1 parent f6c04d8 commit 2df33d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/blocks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var reHtmlBlockOpen = [
2020
/^<[?]/,
2121
/^<![A-Za-z]/,
2222
/^<!\[CDATA\[/,
23-
/^<[/]?(?: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,
23+
/^<[/]?(?: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|search|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,
2424
new RegExp("^(?:" + OPENTAG + "|" + CLOSETAG + ")\\s*$", "i")
2525
];
2626

0 commit comments

Comments
 (0)