diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-03-14 19:40:05 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-03-14 19:40:05 +0000 |
commit | 33523ddc865d55db1c7e45eca504f97a97aa5ce0 (patch) | |
tree | f03229a1372bd4958ad456009abe405c4c190db9 /src/xmlwriter.cpp | |
parent | 82d16c9fb29f35b52868eda8725a86379a98b6fb (diff) | |
download | libbu++-33523ddc865d55db1c7e45eca504f97a97aa5ce0.tar.gz libbu++-33523ddc865d55db1c7e45eca504f97a97aa5ce0.tar.bz2 libbu++-33523ddc865d55db1c7e45eca504f97a97aa5ce0.tar.xz libbu++-33523ddc865d55db1c7e45eca504f97a97aa5ce0.zip |
Now fixed the xml escaping...sigh.
Diffstat (limited to 'src/xmlwriter.cpp')
-rw-r--r-- | src/xmlwriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlwriter.cpp b/src/xmlwriter.cpp index 0c9c7db..56880b6 100644 --- a/src/xmlwriter.cpp +++ b/src/xmlwriter.cpp | |||
@@ -67,7 +67,7 @@ std::string XmlWriter::escape( std::string sIn ) | |||
67 | { | 67 | { |
68 | sOut += "&#"; | 68 | sOut += "&#"; |
69 | char buf[4]; | 69 | char buf[4]; |
70 | sprintf( buf, "%u", (unsigned int)*i ); | 70 | sprintf( buf, "%u", (unsigned char)*i ); |
71 | sOut += buf; | 71 | sOut += buf; |
72 | sOut += ';'; | 72 | sOut += ';'; |
73 | } | 73 | } |