summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/tokeniser2/test1.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/data/tokeniser2/test1.test b/test/data/tokeniser2/test1.test
index 46ad7ca..e40e5f8 100644
--- a/test/data/tokeniser2/test1.test
+++ b/test/data/tokeniser2/test1.test
@@ -169,8 +169,12 @@
"input":"<h a='&noti'>",
"output":["ParseError", ["StartTag", "h", {"a":"&noti"}]]},
+{"description":"Entity in attribute with semicolon",
+"input":"<h a='&COPY;'>",
+"output":["ParseError", ["StartTag", "h", {"a":"\u00A9"}]]},
+
{"description":"Entity in attribute without semicolon",
"input":"<h a='&COPY'>",
-"output":["ParseError", ["StartTag", "h", {"a":"\u00A9"}]]}
+"output":["ParseError", ["StartTag", "h", {"a":"&COPY"}]]}
]}