diff options
-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 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; |