Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ffa3ec

Browse files
nolanwgsnedders
authored andcommitted
Overlong entity name in an attribute is not a parse error.
1 parent b872d92 commit 8ffa3ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokenizer/entities.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{"description": "Undefined named entity in attribute value ending in semicolon and whose name starts with a known entity name.",
44
"input":"<h a='&noti;'>",
5-
"output": ["ParseError", ["StartTag", "h", {"a": "&noti;"}]]},
5+
"output": [["StartTag", "h", {"a": "&noti;"}]]},
66

77
{"description": "Entity name followed by the equals sign in an attribute value.",
88
"input":"<h a='&lang='>",

0 commit comments

Comments
 (0)