LibWeb: Parse "br" end tags during "in body"

This commit is contained in:
Kyle McLean 2020-06-03 22:34:50 -06:00 committed by Andreas Kling
parent 9fca4b56d3
commit 1ad81e4833
Notes: sideshowbarker 2024-07-19 05:51:15 +09:00
2 changed files with 9 additions and 1 deletions

View file

@ -123,6 +123,12 @@ public:
return {};
}
void drop_attributes()
{
ASSERT(is_start_tag() || is_end_tag());
m_tag.attributes.clear();
}
Type type() const { return m_type; }
String to_string() const;