Issue 4515, skip all control char in XML output except 09, 0A, 0D.
svn: r16336
This commit is contained in:
parent
51f2e26218
commit
4593c5f53f
@ -79,8 +79,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,
|
||||
|
Loading…
Reference in New Issue
Block a user