mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 17:55:08 +00:00
LibWeb: Avoid assertion failure on parsing numeric character references
This commit is contained in:
parent
5fe3cc3b85
commit
898b8ffcb6
2 changed files with 6 additions and 6 deletions
|
@ -166,7 +166,7 @@ TEST_CASE(multiple_attributes)
|
|||
|
||||
TEST_CASE(character_reference_in_attribute)
|
||||
{
|
||||
auto tokens = run_tokenizer("<p foo=a&b bar='a&b' baz=\"a&b\">");
|
||||
auto tokens = run_tokenizer("<p foo=a&b bar='a&b' baz=\"a&b\">");
|
||||
BEGIN_ENUMERATION(tokens);
|
||||
EXPECT_START_TAG_TOKEN(p);
|
||||
EXPECT_TAG_TOKEN_ATTRIBUTE_COUNT(3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue