8000 Opposite quote after ampersand in attribute value is not a parse error. · html5lib/html5lib-tests@3f21a26 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f21a26

Browse files
nolanwgsnedders
authored andcommitted
Opposite quote after ampersand in attribute value is not a parse error.
1 parent c2b299f commit 3f21a26

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tokenizer/test4.test

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@
2828
"input":"<z ====>",
2929
"output":["ParseError", "ParseError", "ParseError", ["StartTag", "z", {"=": "=="}]]},
3030

31-
{"description":"Allowed \" after ampersand in attribute value",
31+
{"description":"\" after ampersand in double-quoted attribute value",
3232
"input":"<z z=\"&\">",
3333
"output":[["StartTag", "z", {"z": "&"}]]},
3434

35-
{"description":"Non-allowed ' after ampersand in attribute value",
35+
{"description":"' after ampersand in double-quoted attribute value",
3636
"input":"<z z=\"&'\">",
37-
"output":["ParseError", ["StartTag", "z", {"z": "&'"}]]},
37+
"output":[["StartTag", "z", {"z": "&'"}]]},
3838

39-
{"description":"Allowed ' after ampersand in attribute value",
39+
{"description":"' after ampersand in single-quoted attribute value",
4040
"input":"<z z='&'>",
4141
"output":[["StartTag", "z", {"z": "&"}]]},
4242

43-
{"description":"Non-allowed \" after ampersand in attribute value",
43+
{"description":"\" after ampersand in single-quoted attribute value",
4444
"input":"<z z='&\"'>",
45-
"output":["ParseError", ["StartTag", "z", {"z": "&\""}]]},
45+
"output":[["StartTag", "z", {"z": "&\""}]]},
4646

4747
{"description":"Text after bogus character reference",
4848
"input":"<z z='&xlink_xmlns;'>bar<z>",

0 commit comments

Comments
 (0)
0