guava
guava copied to clipboard
add xml decimal attribute escaper
Extra xml decimal attribute escaper is added in this PR.
It works similar as the existing xml attribute escaper. The main difference is that it will normalize a character as line feed \n in instead of 

This can be useful if you to want to have the same print result as javax.xml.transform.Transformer.
Also a browser like google chrome will print for a line feed \n character when calling XMLSerializer.serializeToString.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.