-
Notifications
You must be signed in to change notification settings - Fork 72
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
verifyXml() escaping behaviour #466
Comments
|
Happy to join you on a Zoom call to look into this. I don't have a unit test yet but I can look to add one today. |
I'm wondering if a similar approach to |
Added a draft pull request #473 with a couple of tests to show the discrepancies I'm seeing. Strangely, I couldn't verify that |
Please send an email to llewellyn.falco@gmail.com and he'll forward you the invite for our next session. Looking forward to it! |
I'm working with Jackson to generate some XML that I'd like to then approve with the
verifyXml()
method. Jackson takes care of escaping special characters in the XML but doesn't pretty print it. I'm finding some inconsistencies with how Approvals then formats the XML:&
but Approvals then changes this to&amp
.Do you have any comments on this? Is it possible to just apply formatting to the XML string that adds line breaks and indents but without further formatting the content?
The text was updated successfully, but these errors were encountered: