From 2acc96fa62d4016efb720c105a14633773771c50 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Wed, 5 Jan 2011 10:46:27 +0000 Subject: [PATCH] Issue 4515, skip all control char in XML output except 09, 0A, 0D. svn: r16337 --- src/plugins/export/ExportXml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/export/ExportXml.py b/src/plugins/export/ExportXml.py index bafdaef45..4124dff9e 100644 --- a/src/plugins/export/ExportXml.py +++ b/src/plugins/export/ExportXml.py @@ -77,8 +77,8 @@ try: except: _gzip_ok = 0 -# table for skipping control chars from XML -strip_dict = dict.fromkeys(range(9)+range(12,20)) +# table for skipping control chars from XML except 09, 0A, 0D +strip_dict = dict.fromkeys(range(9)+range(11,13)+range(14, 32)) def escxml(d): return escape(d,