Commit 050cf1fd authored by louiz’'s avatar louiz’

xml-escape the tail in an XmlNode

parent d6832fbc
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment