Simon Groenewolt wrote:
It correctly removes duplicate newlines, duplicate trailing whitespaces and 'inbetween' whitspace, but it doesn't remove remove leading whitespaces.

Yes, I recall it is to make the result 'human readable'.
Unforunately a spacereducer that removes leading spaces would require a separate class as you can't configure postprocessors.
I can add a "SpaceStripper" class that does this.


It appends a space on every line in my case

I'm fixing that to convert all combos of \r and \n to a single \n. I'll leave the distinction between \n and space for readability.


-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Never summon anything bigger than your head."




Reply via email to