Fix parsing for U+2028 / U+2029
(they should be treated as whitespace)
This commit is contained in:
@@ -298,7 +298,8 @@ function tokenizer($TEXT, filename, html5_comments) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function skip_whitespace() {
|
function skip_whitespace() {
|
||||||
while (WHITESPACE_CHARS(peek()))
|
var ch;
|
||||||
|
while (WHITESPACE_CHARS(ch = peek()) || ch == "\u2028" || ch == "\u2029")
|
||||||
next();
|
next();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user