+ handle single quote when writing XML
This commit is contained in:
@@ -122,6 +122,8 @@ std::string Property::encodeAttribute(const std::string& str)
|
||||
tmp += "<";
|
||||
else if (*it == '"')
|
||||
tmp += """;
|
||||
else if (*it == '\'')
|
||||
tmp += "'";
|
||||
else if (*it == '&')
|
||||
tmp += "&";
|
||||
else if (*it == '>')
|
||||
|
||||
Reference in New Issue
Block a user