1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 14:24:57 +00:00

LibWeb: Fix 'Comment end state' in HTML Tokenizer

Also, update the expected hash in the LibWeb TestHTMLTokenizer
regression test.

This is due to the "This comment has a few too many dashes." comment
token being updated.
This commit is contained in:
Adam Hodgen 2022-02-18 23:02:52 +00:00 committed by Andreas Kling
parent d73bb2633c
commit b6eaefa87d
2 changed files with 2 additions and 2 deletions

View file

@ -1483,7 +1483,7 @@ _StartOfFunction:
}
ANYTHING_ELSE
{
m_current_builder.append('-');
m_current_builder.append("--");
RECONSUME_IN(Comment);
}
}