srctree

Robin Linden parent e03a79f3 0918effc
html2/test: Read the self-closing flag for start tags if provided

inlinesplit
html2/html5lib_test.cpp added: 6, removed: 1, total 5
@@ -93,6 +93,11 @@ std::vector<html2::Token> to_html2_tokens(simdjson::ondemand::array tokens) {
std::string{attr.value().get_string().value()},
});
}
 
if (++it != simdjson::ondemand::array_iterator{}) {
start.self_closing = (*it).value().get_bool().value();
}
 
result.push_back(std::move(start));
continue;
}