From 1ebe2d47412625d2be6ffe05cf761761becf0088 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 18 Jul 2006 21:10:36 +0000 Subject: david - escaped &s now. : ) --- src/xmlwriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) if( ((*i >= ' ' && *i <= '9') || (*i >= 'a' && *i <= 'z') || (*i >= 'A' && *i <= 'Z') ) && - (*i != '\"' && *i != '\'' ) + (*i != '\"' && *i != '\'' && *i != '&') ) { sOut += *i; -- cgit v1.2.3