Skip to content

Commit d8af31b

Browse files
committed
return proper value for the 0 code point
1 parent eca30bb commit d8af31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org/w3c/css/util/UnescapeFilterReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public int read()
2929
return 0x000a;// U+000A LINE FEED (LF)
3030
}
3131
if (c == 0) { // U+0000 NULL
32-
return 0xffd; // U+FFFD REPLACEMENT CHARACTER
32+
return 0xfffd; // U+FFFD REPLACEMENT CHARACTER
3333
}
3434
if (c >= 0xd800 && c <= 0xdfff) { // surrogate
3535
return 0xfffd;

0 commit comments

Comments
 (0)