Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #4476: Correct the XML pretty printer to always preserve spaces #441

Conversation

fanf
Copy link
Member

@fanf fanf commented Feb 18, 2014

To correct the behavior of the XML pretty printer, I had to copy&paste the source code of the original and change the "doPreserve" method which is private in scala.xml.PrettyPrinter.

All the remaining is just calling the good class.

ncharles added a commit that referenced this pull request Feb 18, 2014
…figuration_repo_files_may_erase_newlines

Fixes #4476: Correct the XML pretty printer to always preserve spaces
@ncharles ncharles merged commit 2281589 into Normation:branches/rudder/2.6 Feb 18, 2014
@fanf fanf deleted the bug_4476/XML_pretty_printing_of_configuration_repo_files_may_erase_newlines branch March 15, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants