X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Ffreenet%2Fintroductionpuzzlexml.cpp;h=1dea038bfda6359a1e7c93968b6c2c97cec0c9cc;hp=8eb8a1adbb6fc666adfdc4789689d37e7dba2823;hb=52c0819bfc1d083c6e0738f75f0d7eeba521295a;hpb=d8f51eac91f86a1e00a05a5058a8fa9eb8732464 diff --git a/src/freenet/introductionpuzzlexml.cpp b/src/freenet/introductionpuzzlexml.cpp index 8eb8a1a..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); @@ -84,4 +83,4 @@ const bool IntroductionPuzzleXML::ParseXML(const std::string &xml) { return false; } -} \ No newline at end of file +}