Skip to content

Commit f43a69a

Browse files
committed
Fix escape parsing.
1 parent ffcd117 commit f43a69a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse-css.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ function tokenize(str) {
389389
}
390390
}
391391
if(whitespace(next())) consume();
392-
var value = parseInt(digits.map(String.fromCharCode).join(''), 16);
392+
var value = parseInt(digits.map(function(x){return String.fromCharCode(x);}).join(''), 16);
393393
if( value > maximumallowedcodepoint ) value = 0xfffd;
394394
return value;
395395
} else if(eof()) {

0 commit comments

Comments
 (0)