Unescape XML before sending messages over IRC

This commit is contained in:
Florent Le Coz
2013-11-11 00:29:44 +01:00
parent 096a4e3baf
commit 2be4811d14
2 changed files with 48 additions and 3 deletions
+1 -1
View File
@@ -6,6 +6,7 @@
#include <vector>
std::string xml_escape(const std::string& data);
std::string xml_unescape(const std::string& data);
/**
* Raised on operator[] when the attribute does not exist
@@ -66,7 +67,6 @@ public:
void add_to_inner(const std::string& data);
/**
* Get the content of inner
* TODO: unescape it here.
*/
std::string get_inner() const;
/**