Skip to content

Commit 75e9843

Browse files
committed
Merge pull request #17 from nolanw/add-double-escape
Double-escape a troublesome tokenizer test. U+FEFF apparently doesn't decode nicely from JSON under Ruby 2.0 and Obj-C/Cocoa.
2 parents acaf74d + 6860602 commit 75e9843

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tokenizer/domjs.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
},
2020
{
2121
"description":"leading U+FEFF must pass through",
22-
"input":"\uFEFFfoo\uFEFFbar",
23-
"output":[["Character", "\uFEFFfoo\uFEFFbar"]]
22+
"doubleEscaped":true,
23+
"input":"\\uFEFFfoo\\uFEFFbar",
24+
"output":[["Character", "\\uFEFFfoo\\uFEFFbar"]]
2425
},
2526
{
2627
"description":"Non BMP-charref in in RCDATA",

0 commit comments

Comments
 (0)