Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a75ec44

Browse filesBrowse files
committed
Test zero byte after hyphen in comment
1 parent 71eebd5 commit a75ec44
Copy full SHA for a75ec44

File tree

1 file changed

+9
-0
lines changed
Filter options

1 file changed

+9
-0
lines changed

‎tokenizer/test3.test

Copy file name to clipboardExpand all lines: tokenizer/test3.test
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,15 @@
591591
{ "code": "incorrectly-opened-comment", "line": 1, "col": 3 }
592592
]},
593593

594+
{"description":"<!-\\u0000",
595+
"input":"<!-\u0000",
596+
"output":[["Comment", "-\uFFFD"]],
597+
"errors":[
598+
{ "code": "incorrectly-opened-comment", "line": 1, "col": 4 },
599+
{ "code": "unexpected-null-character", "line": 1, "col": 4 },
600+
{ "code": "eof-in-comment", "line": 1, "col": 5 }
601+
]},
602+
594603
{"description":"<!--",
595604
"input":"<!--",
596605
"output":[["Comment", ""]],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.