diff options
Diffstat (limited to 'core/fxcrt/xml')
-rw-r--r-- | core/fxcrt/xml/cxml_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/xml/cxml_parser.cpp b/core/fxcrt/xml/cxml_parser.cpp index 35eca527e6..4d9e3dc469 100644 --- a/core/fxcrt/xml/cxml_parser.cpp +++ b/core/fxcrt/xml/cxml_parser.cpp @@ -303,7 +303,7 @@ void CXML_Parser::GetAttrValue(CFX_WideString& value) { break; if (ch == '&') { - decoder.AppendChar(GetCharRef()); + decoder.AppendCodePoint(GetCharRef()); if (IsEOF()) { value = decoder.GetResult(); return; @@ -459,7 +459,7 @@ std::unique_ptr<CXML_Element> CXML_Parser::ParseElementInternal( iState = 1; } else if (ch == '&') { decoder.ClearStatus(); - decoder.AppendChar(GetCharRef()); + decoder.AppendCodePoint(GetCharRef()); } else { decoder.Input(ch); } |