mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
LibWeb: Reset the "stop parsing" flag when entering HTML parser
Otherwise we'll always bail after processing one token, which is not what we want.
This commit is contained in:
committed by
Andreas Kling
parent
7309f2a6f9
commit
1d554f97de
@@ -188,6 +188,8 @@ void HTMLParser::visit_edges(Cell::Visitor& visitor)
|
||||
|
||||
void HTMLParser::run(HTMLTokenizer::StopAtInsertionPoint stop_at_insertion_point)
|
||||
{
|
||||
m_stop_parsing = false;
|
||||
|
||||
for (;;) {
|
||||
// FIXME: Find a better way to say that we come from Document::close() and want to process EOF.
|
||||
if (!m_tokenizer.is_eof_inserted() && m_tokenizer.is_insertion_point_reached())
|
||||
|
||||
Reference in New Issue
Block a user