Enable shift-clicking on the pretty-print icon to force pretty-print, ignoring xml:space="preserve"
Posted: Thu Oct 13, 2011 4:04 pm
Pretty printing in Oxygen respects xml:space="preserve", and won't change whitespace when it's present.
This is great - most of the time.
However, Word XML in particular uses xml:space="preserve" indiscriminately. My normal workflow is to look at a Word XML document, search for xml:space="preserve", delete the attribute, then to pretty-print, but I would prefer it if I could instead shift-click on the pretty-print icon to have it force a pretty-print, ignoring the xml:space="preserve".
This is great - most of the time.
However, Word XML in particular uses xml:space="preserve" indiscriminately. My normal workflow is to look at a Word XML document, search for xml:space="preserve", delete the attribute, then to pretty-print, but I would prefer it if I could instead shift-click on the pretty-print icon to have it force a pretty-print, ignoring the xml:space="preserve".