]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed quotation mark input/output
authorJulian Smart <julian@anthemion.co.uk>
Sat, 26 Apr 2008 19:43:30 +0000 (19:43 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 26 Apr 2008 19:43:30 +0000 (19:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextxml.cpp

index c09d3342976be19dc3e1891fb0450fa574613d4a..a9f803f49a69c36c5f4bbd27cb0d556d515f6a10 100644 (file)
@@ -718,7 +718,7 @@ bool wxRichTextXMLHandler::ExportXML(wxOutputStream& stream, wxMBConv* convMem,
         else for (i = 0; i < len; i++)
         {
             int c = (int) text[i];
-            if (c < 32 && c != 9 && c != 10 && c != 13)
+            if ((c < 32 || c == 34) && c != 9 && c != 10 && c != 13)
             {
                 if (i > 0)
                 {