Skip to content

Commit fab9829

Browse files
untitakersideshowbarker
authored andcommitted
Add new test for script data
See untitaker/html5gum#15
1 parent 6030cb6 commit fab9829

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tokenizer/domjs.test

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,12 @@
324324
"errors":[
325325
{ "code": "eof-in-cdata", "line": 1, "col": 6 }
326326
]
327+
},
328+
{
329+
"description": "HTML tag in script data",
330+
"input": "<b>hello world</b>",
331+
"initialStates": ["Script data state"],
332+
"output": [["Character", "<b>hello world</b>"]]
327333
}
328-
329334
]
330335
}

0 commit comments

Comments
 (0)