diff options
author | Andrew Sidwell <andy@entai.co.uk> | 2008-08-04 00:46:18 +0000 |
---|---|---|
committer | Andrew Sidwell <andy@entai.co.uk> | 2008-08-04 00:46:18 +0000 |
commit | b4760da5d776ca41efb612f373b0545590ef4df3 (patch) | |
tree | 5f8bbc502e8d4bb4d13ebdddd6240a4b18fe518f /test/data/tokeniser2 | |
parent | 36ac9bb2c31c56a29e3dac2dbcaba821707b374e (diff) | |
download | libhubbub-b4760da5d776ca41efb612f373b0545590ef4df3.tar.gz libhubbub-b4760da5d776ca41efb612f373b0545590ef4df3.tar.bz2 |
Fix bug in hubbub & html5lib tests relating to parsing entities ending without semicolons in attribute values.
svn path=/trunk/hubbub/; revision=4892
Diffstat (limited to 'test/data/tokeniser2')
-rw-r--r-- | test/data/tokeniser2/test1.test | 6 |
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='¬i'>", "output":["ParseError", ["StartTag", "h", {"a":"¬i"}]]}, +{"description":"Entity in attribute with semicolon", +"input":"<h a='©'>", +"output":["ParseError", ["StartTag", "h", {"a":"\u00A9"}]]}, + {"description":"Entity in attribute without semicolon", "input":"<h a='©'>", -"output":["ParseError", ["StartTag", "h", {"a":"\u00A9"}]]} +"output":["ParseError", ["StartTag", "h", {"a":"©"}]]} ]} |