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

Remove trimWhiteSpace call from XmlUtils.toString #2451 #2452

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

bouncysteve
Copy link

Removes trimWhiteSpace call from XmlUtils.toString(node,pretty) so that prettyprinting affects the space between nodes, but not space within node values. Added/amended tests to demonstrate intended behaviour.

@bouncysteve
Copy link
Author

I have left the trimWhiteSpace method intact, as it is a public method, but I note that it is not used anywhere else and could be removed.

@ptrthomas ptrthomas merged commit 5ae24b2 into karatelabs:develop Nov 24, 2023
1 check passed
@ptrthomas
Copy link
Member

thanks @bouncysteve I'll merge and delete the method also

ptrthomas added a commit that referenced this pull request Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants