~singpolyma/biboumi

050cf1fd606a04c4734d66e996a52a907001bd12 — Florent Le Coz 10 years ago d6832fb
xml-escape the tail in an XmlNode
1 files changed, 2 insertions(+), 2 deletions(-)

M src/xmpp/xmpp_stanza.cpp
M src/xmpp/xmpp_stanza.cpp => src/xmpp/xmpp_stanza.cpp +2 -2
@@ 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)