Skip to content

Commit 5503d46

Browse files
committed
Newlines get normalized to U+000A during preprocessing now.
1 parent 2fb01dc commit 5503d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse-css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function nonascii(code) { return code >= 0x80; }
2020
function namestartchar(code) { return letter(code) || nonascii(code) || code == 0x5f; }
2121
function namechar(code) { return namestartchar(code) || digit(code) || code == 0x2d; }
2222
function nonprintable(code) { return between(code, 0,8) || code == 0xb || between(code, 0xe,0x1f) || code == 0x7f; }
23-
function newline(code) { return code == 0xa || code == 0xc; }
23+
function newline(code) { return code == 0xa; }
2424
function whitespace(code) { return newline(code) || code == 9 || code == 0x20; }
2525
function badescape(code) { return newline(code) || isNaN(code); }
2626

0 commit comments

Comments
 (0)