File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var OPENTAG = "<" + TAGNAME + ATTRIBUTE + "*" + "\\s*/?>";
2626var CLOSETAG = "</" + TAGNAME + "\\s*[>]" ;
2727var HTMLCOMMENT = "<!-->|<!--->|<!--(?:[^-]|-[^-]|--[^>])*-->"
2828var PROCESSINGINSTRUCTION = "[<][?][\\s\\S]*?[?][>]" ;
29- var DECLARATION = "<![A-Z ]+" + "[^>]*>" ;
29+ var DECLARATION = "<![A-Za-z ]+" + "[^>]*>" ;
3030var CDATA = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>" ;
3131var HTMLTAG =
3232 "(?:" +
Original file line number Diff line number Diff line change @@ -491,4 +491,14 @@ x <- 1
491491""third [test]
492492.
493493<p>""third <a href="example">test</a></p>
494- ````````````````````````````````
494+ ````````````````````````````````
495+
496+ #283
497+ ```````````````````````````````` example
498+ x<!x>
499+
500+ x<!>
501+ .
502+ <p>x<!x></p>
503+ <p>x<!></p>
504+ ````````````````````````````````
You can’t perform that action at this time.
0 commit comments