xml-escape the tail in an XmlNode

This commit is contained in:
Florent Le Coz
2013-12-02 13:15:51 +01:00
parent d6832fbcc9
commit 050cf1fd60
+2 -2
View File
@@ -114,12 +114,12 @@ void XmlNode::set_attribute(const std::string& name, const std::string& value)
void XmlNode::set_tail(const std::string& data)
{
this->tail = data;
this->tail = xml_escape(data);
}
void XmlNode::add_to_tail(const std::string& data)
{
this->tail += data;
this->tail += xml_escape(data);
}
void XmlNode::set_inner(const std::string& data)