mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +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
|
// | STag content ETag
|
||||||
if (auto result = parse_empty_element_tag(); !result.is_error()) {
|
if (auto result = parse_empty_element_tag(); !result.is_error()) {
|
||||||
append_node(result.release_value());
|
append_node(result.release_value());
|
||||||
|
leave_node();
|
||||||
rollback.disarm();
|
rollback.disarm();
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue