mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 10:57:35 +00:00
LibWeb: Fix accidental swallow of self-closing tag tokens
Instead of dropping self-closing tags on the floor, we now emit them into the token stream. :^)
This commit is contained in:
parent
fbd52047bb
commit
62885b5646
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ _StartOfFunction:
|
||||||
ON('>')
|
ON('>')
|
||||||
{
|
{
|
||||||
m_current_token.m_tag.self_closing = true;
|
m_current_token.m_tag.self_closing = true;
|
||||||
SWITCH_TO(Data);
|
SWITCH_TO_AND_EMIT_CURRENT_TOKEN(Data);
|
||||||
}
|
}
|
||||||
ON_EOF
|
ON_EOF
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue