mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-28 13:12:05 +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
Notes:
sideshowbarker
2024-07-19 05:57:38 +09:00
Author: https://github.com/awesomekling
Commit: 62885b5646
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ _StartOfFunction:
|
|||
ON('>')
|
||||
{
|
||||
m_current_token.m_tag.self_closing = true;
|
||||
SWITCH_TO(Data);
|
||||
SWITCH_TO_AND_EMIT_CURRENT_TOKEN(Data);
|
||||
}
|
||||
ON_EOF
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue