mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
LibWeb: Fix incorrectly consumed characters after reference tokens
The NumericCharacterReferenceEnd tokenizer state should not advance the input stream.
This commit is contained in:
parent
959de19418
commit
19190267a6
1 changed files with 2 additions and 0 deletions
|
@ -1415,6 +1415,8 @@ _StartOfFunction:
|
|||
|
||||
BEGIN_STATE(NumericCharacterReferenceEnd)
|
||||
{
|
||||
DONT_CONSUME_NEXT_INPUT_CHARACTER;
|
||||
|
||||
if (m_character_reference_code == 0) {
|
||||
TODO();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue