|
|
@ -46,7 +46,7 @@ var close_tag = /<\/[A-Za-z][A-Za-z0-9]*\s*>/; |
|
|
|
var comment = /<!--[\s\S]*?-->/; |
|
|
|
var processing = /<[?].*?[?]>/; |
|
|
|
var declaration = /<![A-Z]+\s+[^>]*>/; |
|
|
|
var cdata = /<!\[CDATA\[([^\]]+|\][^\]]|\]\][^>])*\]\]>/; |
|
|
|
var cdata = /<!\[CDATA\[[\s\S]*?\]\]>/; |
|
|
|
|
|
|
|
var HTML_TAG_RE = replace(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/) |
|
|
|
('open_tag', open_tag) |
|
|
|