mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
LibXML: Fix parser not leaving self-closing tags
This commit is contained in:
parent
4f2770a745
commit
7990f1b85a
1 changed files with 1 additions and 0 deletions
|
@ -614,6 +614,7 @@ ErrorOr<void, ParseError> Parser::parse_element()
|
|||
// | STag content ETag
|
||||
if (auto result = parse_empty_element_tag(); !result.is_error()) {
|
||||
append_node(result.release_value());
|
||||
leave_node();
|
||||
rollback.disarm();
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue