mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-19 14:14:41 +00:00
LibWeb: Handle NULL character during "in body"
This commit is contained in:
committed by
Andreas Kling
parent
5e3972a946
commit
4edd0643a6
@@ -809,7 +809,8 @@ void HTMLDocumentParser::handle_in_body(HTMLToken& token)
|
||||
{
|
||||
if (token.is_character()) {
|
||||
if (token.codepoint() == 0) {
|
||||
TODO();
|
||||
PARSE_ERROR();
|
||||
return;
|
||||
}
|
||||
if (token.is_parser_whitespace()) {
|
||||
reconstruct_the_active_formatting_elements();
|
||||
|
||||
Reference in New Issue
Block a user