diff --git a/libs/xmlutil/Node.cpp b/libs/xmlutil/Node.cpp index 264e223fe1..74bd9b648a 100644 --- a/libs/xmlutil/Node.cpp +++ b/libs/xmlutil/Node.cpp @@ -145,7 +145,7 @@ void Node::addText(const std::string& text) ); // Add the newly allocated text as sibling of this node - xmlAddSibling(_xmlNode, whitespace); + xmlAddNextSibling(_xmlNode, whitespace); } void Node::erase()