Skip to content

Commit

Permalink
Builder: Ignore ASCII control characters when writing XML changes file
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 16, 2015
1 parent a8e421c commit 2e6f9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrib/builder/changes.py
Expand Up @@ -25,7 +25,7 @@ def xmlEncodedText(logText):
result += u'<![CDATA[<]]>'
elif c == '>':
result += u'<![CDATA[>]]>'
else:
elif c in unicode(string.whitespace) or c > u' ':
result += c
return result

Expand Down

0 comments on commit 2e6f9a5

Please sign in to comment.