Skip to content

Commit a75ec44

Browse files
committed
Test zero byte after hyphen in comment
1 parent 71eebd5 commit a75ec44

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tokenizer/test3.test

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy