aboutsummaryrefslogtreecommitdiff
path: root/src/xmlwriter.cpp
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2006-07-18 21:10:36 +0000
committerDavid <david@xagasoft.com>2006-07-18 21:10:36 +0000
commit1ebe2d47412625d2be6ffe05cf761761becf0088 (patch)
tree71b07a183a0ef70770536eea463412dd418f08f8 /src/xmlwriter.cpp
parent39d79c7b6ed2a19a2c37cbc2c13714d3cd2995e5 (diff)
downloadlibbu++-1ebe2d47412625d2be6ffe05cf761761becf0088.tar.gz
libbu++-1ebe2d47412625d2be6ffe05cf761761becf0088.tar.bz2
libbu++-1ebe2d47412625d2be6ffe05cf761761becf0088.tar.xz
libbu++-1ebe2d47412625d2be6ffe05cf761761becf0088.zip
david - escaped &s now. : )
Diffstat (limited to '')
-rw-r--r--src/xmlwriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlwriter.cpp b/src/xmlwriter.cpp
index 236939d..0ea3709 100644
--- a/src/xmlwriter.cpp
+++ b/src/xmlwriter.cpp
@@ -58,7 +58,7 @@ std::string XmlWriter::escape( std::string sIn )
58 if( ((*i >= ' ' && *i <= '9') || 58 if( ((*i >= ' ' && *i <= '9') ||
59 (*i >= 'a' && *i <= 'z') || 59 (*i >= 'a' && *i <= 'z') ||
60 (*i >= 'A' && *i <= 'Z') ) && 60 (*i >= 'A' && *i <= 'Z') ) &&
61 (*i != '\"' && *i != '\'' ) 61 (*i != '\"' && *i != '\'' && *i != '&')
62 ) 62 )
63 { 63 {
64 sOut += *i; 64 sOut += *i;