This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author teajay_fr
Date 2007-08-19.08:42:36
SpamBayes Score
Marked as misclassified
This patch provides a fix to the minidom pretty xml output. In the initial version when outputing textnodes additional line breaks were added at the beginning and the end of the textnode block thus output false textnode content. If you load and save an xml document with textnodes the size of the textnodes increases every time.

To fix this, a simple logic has been added to the textnode output function in order to prevent this behavior.

This is my first patch submission so I hope I haven't done anything wrong. I so please let me know I'll be glad to improve it.

Cheers and keep up the good work.

Date User Action Args
2007-08-23 15:59:44adminlinkissue1777134 messages
2007-08-23 15:59:44admincreate