X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffreenet%2Fintroductionpuzzlexml.cpp;h=1dea038bfda6359a1e7c93968b6c2c97cec0c9cc;hb=52c0819bfc1d083c6e0738f75f0d7eeba521295a;hp=b7013051b04b3afe4c1b7a0d5b7d70419e500ca7;hpb=6b896a9e1dc143bba86795be1e9336549db9b85f;p=fms.git diff --git a/src/freenet/introductionpuzzlexml.cpp b/src/freenet/introductionpuzzlexml.cpp index b701305..1dea038 100644 --- a/src/freenet/introductionpuzzlexml.cpp +++ b/src/freenet/introductionpuzzlexml.cpp @@ -22,7 +22,7 @@ std::string IntroductionPuzzleXML::GetXML() tid->LinkEndChild(XMLCreateTextElement("Type",m_type)); - tid->LinkEndChild(XMLCreateTextElement("UUID",m_uuid)); + tid->LinkEndChild(XMLCreateCDATAElement("UUID",m_uuid)); tid->LinkEndChild(XMLCreateTextElement("MimeType",m_mimetype)); @@ -47,7 +47,6 @@ const bool IntroductionPuzzleXML::ParseXML(const std::string &xml) if(!td.Error()) { - TiXmlElement *el; TiXmlText *txt; TiXmlHandle hnd(&td);