fix xml text escapes handling

This commit is contained in:
MihailRis 2024-11-19 07:41:26 +03:00
parent f9f150f0aa
commit 53c54dc91d

View File

@ -250,7 +250,8 @@ std::string Parser::parseText() {
}
nextChar();
}
return std::string(source.substr(start, pos - start));
return Parser("<string>", std::string(source.substr(start, pos - start)))
.parseString('\0', false);
}
inline bool is_xml_identifier_start(char c) {