Unexpected diff when writing XML
Texts are escaped to 	 when we write XML in Maven updater.
Go does escaping in EncodeToken: https://github.com/golang/go/blob/master/src/encoding/xml/marshal.go#L223
Not only tabs are escaped but also other characters: https://github.com/golang/go/blob/master/src/encoding/xml/xml.go#L1916
Besides the escaped texts, due to issue https://github.com/golang/go/issues/21399 self-closing tags are not encoded as expected.
We may consider refactoring how to write XMLs: instead of calling xml.Encode(), write the content directly to avoid unexpected behaviour.
Are there remaining issues to track here, or can we close this @cuixq ?
I noticed one issue of multiple-line self-closing tag encoded into one line:
<a
something
something />
is now
<a something something />
this seems low priority though.
Going to track this in separate issues.