LibWeb: Add missing special tag case in the "in body" insertion mode

This commit is contained in:
Andreas Kling 2020-05-30 18:19:15 +02:00
parent e5ec05bd3a
commit f4778d1ba0

View file

@ -1228,7 +1228,10 @@ void HTMLDocumentParser::handle_in_body(HTMLToken& token)
m_stack_of_open_elements.pop();
break;
}
// FIXME: Handle special elements!
if (is_special_tag(node->tag_name())) {
PARSE_ERROR();
return;
}
}
return;
}