mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibXML: Actually append resolved references when parsing content
This commit is contained in:
parent
f25745ed27
commit
2f7527b0a4
2 changed files with 13 additions and 1 deletions
|
@ -862,7 +862,7 @@ ErrorOr<void, ParseError> Parser::parse_content()
|
|||
if (auto char_reference = reference.get_pointer<DeprecatedString>())
|
||||
append_text(*char_reference);
|
||||
else
|
||||
TRY(resolve_reference(reference.get<EntityReference>(), ReferencePlacement::Content));
|
||||
append_text(TRY(resolve_reference(reference.get<EntityReference>(), ReferencePlacement::Content)));
|
||||
goto try_char_data;
|
||||
}
|
||||
if (auto result = parse_cdata_section(); !result.is_error()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue