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 Dávid.Gábor.Bodor
Recipients BreamoreBoy, Dávid.Gábor.Bodor, ajaksu2, ggenellina, jmg, rrwood, teajay_fr, tseaver, vdupras
Date 2011-03-13.18:10:54
SpamBayes Score 0.000308972
Marked as misclassified No
Message-id <>
I would prefer to see this improvement as an option, rather than the default, because I believe that 'Issue4147' satisfies "pretty printing" better.

While leaving out whitespace from text-only elements is benefical for compatibility and roundtripping, there are certain situation where it hurts the prettyness of the xml really hard, an example:

        <childnode2 />
        <childnode3 />


    <element1>TextNode1<childnode2 />
        <childnode3 />TextNode4</element1>
Date User Action Args
2011-03-13 18:10:56Dávid.Gábor.Bodorsetrecipients: + Dávid.Gábor.Bodor, tseaver, ggenellina, ajaksu2, jmg, teajay_fr, vdupras, rrwood, BreamoreBoy
2011-03-13 18:10:55Dávid.Gábor.Bodorsetmessageid: <>
2011-03-13 18:10:54Dávid.Gábor.Bodorlinkissue1777134 messages
2011-03-13 18:10:54Dávid.Gábor.Bodorcreate