Fixed quotation mark input/output

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2008-04-26 19:43:30 +00:00
parent c990e35c5f
commit d47018c761

View 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)
{