[issue17582] xml.etree.ElementTree does not preserve whitespaces in attributes
Stefan Behnel
report at bugs.python.org
Sun Oct 5 16:19:38 CEST 2014
Stefan Behnel added the comment:
> Proper escaping should be added to the _escape_attrib() function into /xml/etree/ElementTree.py (and equivalent for cElementTree).
Agreed. Can you provide a patch?
----------
versions: -Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17582>
_______________________________________
More information about the Python-bugs-list
mailing list