Closed ghost closed 8 years ago
I got an xml that contains elements like this: <version> 1 </version>
I expect them to be converted to <version>1</version>
like in V2 but it results in <version>1 </version>
Not sure if i missed some config here.
Looks like a specific to how minidom prettyxml formatter works.. not sure if I can do something, but will take a look
I'd say this is excepted behavior - you text is exactly '1' so formatter just keeps that. I think modification of content in any way is not a good idea.
I got an xml that contains elements like this: <version> 1 </version>
I expect them to be converted to
<version>1</version>
like in V2 but it results in <version>1 </version>
Not sure if i missed some config here.