From 4ced5be46a8e3c668dab2f83386f9c132e66b51d Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 26 Apr 2008 19:43:11 +0000 Subject: [PATCH] Fixed quotation mark input/output git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextxml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtextxml.cpp b/src/richtext/richtextxml.cpp index 8cdc73f2a8..a97bf3077f 100644 --- a/src/richtext/richtextxml.cpp +++ b/src/richtext/richtextxml.cpp @@ -717,7 +717,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) {