|
@@ -177,7 +177,7 @@ void HTMLParser::run(HTMLTokenizer::StopAtInsertionPoint stop_at_insertion_point
|
|
for (;;) {
|
|
for (;;) {
|
|
// FIXME: Find a better way to say that we come from Document::close() and want to process EOF.
|
|
// 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())
|
|
if (!m_tokenizer.is_eof_inserted() && m_tokenizer.is_insertion_point_reached())
|
|
- return;
|
|
|
|
|
|
+ break;
|
|
|
|
|
|
auto optional_token = m_tokenizer.next_token(stop_at_insertion_point);
|
|
auto optional_token = m_tokenizer.next_token(stop_at_insertion_point);
|
|
if (!optional_token.has_value())
|
|
if (!optional_token.has_value())
|