add Note why escape white character in XML

This commit is contained in:
Filip Sykala - NTB T15p 2022-11-29 14:26:10 +01:00
parent 1fa532c624
commit b71b42b9f3

View file

@ -956,7 +956,8 @@ std::string xml_escape(std::string text, bool is_marked/* = false*/)
}
// Definition of escape symbols https://www.w3.org/TR/REC-xml/#AVNormalize
// During the read of xml attribute normalization of white spaces is applied
// Soo for not lose white space character it is escaped before store
std::string xml_escape_double_quotes_attribute_value(std::string text)
{
std::string::size_type pos = 0;