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