Skip to content

Commit a775c2c

Browse files
committed
LibWeb: Handle more cases in the SelfClosingStartTag tokenizer state
1 parent 8429551 commit a775c2c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Libraries/LibWeb/Parser/HTMLTokenizer.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,11 +834,13 @@ Optional<HTMLToken> HTMLTokenizer::next_token()
834834
}
835835
ON_EOF
836836
{
837-
TODO();
837+
PARSE_ERROR();
838+
EMIT_EOF;
838839
}
839840
ANYTHING_ELSE
840841
{
841-
TODO();
842+
PARSE_ERROR();
843+
RECONSUME_IN(BeforeAttributeName);
842844
}
843845
}
844846
END_STATE

0 commit comments

Comments
 (0)