Re: [Pharo-users] configurable space in XML Writer tag
> It's changed to no longer emit that space. Thank you, however this could cause trouble for people needing the space. :) Making it configurable makes a lot of sense if you version your XML files (with e.g. git) and interchange with other tools... that way you can produce same formatting from both tools and not create false changes. Thanks! Peter On Fri, Apr 6, 2018 at 10:42 PM, monty wrote: > It's changed to no longer emit that space. I was considering removing it, > or at least making it configurable, anyway. > >
Re: [Pharo-users] configurable space in XML Writer tag
It's changed to no longer emit that space. I was considering removing it, or at least making it configurable, anyway.
[Pharo-users] configurable space in XML Writer tag
Hi, what would be the best approach to not generate space at the end of single tag? Right now it generates but I would like The space is added in XMLTagWriter>>writeEpilogue, but to "cleanly" change it I would need to * subclass tag writer * subclass xml writer * figure out how to provide different writer so it plays with XMLDocument>>printOn: and that certainly doesn't feel like a nice approach. Maybe this can be made configurable in similar fashion to indentation? Thanks, Peter