mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00: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)
|
BEGIN_STATE(NumericCharacterReferenceEnd)
|
||||||
{
|
{
|
||||||
|
DONT_CONSUME_NEXT_INPUT_CHARACTER;
|
||||||
|
|
||||||
if (m_character_reference_code == 0) {
|
if (m_character_reference_code == 0) {
|
||||||
TODO();
|
TODO();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue