[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

Michel Samia report at bugs.python.org
Sat Apr 3 14:11:38 CEST 2010


Michel Samia <m.samia at seznam.cz> added the comment:

Could you please apply that patch? People are starting to use non-standard libraries to process xml files because of this issue

for example this man is using lxml or pyxml:
http://ronrothman.com/public/leftbraned/xml-dom-minidom-toprettyxml-and-silly-whitespace/

Is there any problem with that patch?

----------
nosy: +m-samia

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4147>
_______________________________________


More information about the Python-bugs-list mailing list