From: Julian Smart Date: Sat, 26 Apr 2008 19:43:30 +0000 (+0000) Subject: Fixed quotation mark input/output X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d47018c76133cf7013c1ef864481f21285c85d13 Fixed quotation mark input/output git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/richtext/richtextxml.cpp b/src/richtext/richtextxml.cpp index c09d334297..a9f803f49a 100644 --- a/src/richtext/richtextxml.cpp +++ b/src/richtext/richtextxml.cpp @@ -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) {