-
Notifications
You must be signed in to change notification settings - Fork 390
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
Xml Pretty Print Not Working #128
Comments
It looks like this is the logic responsible for pretty-printing XML: webhook.site/resources/assets/js/app.js Line 638 in 605a331
The Node package used for pretty-printing is called pretty-data . It is possible to test their solution on the project website: http://www.eslinstructor.net/pretty-data/Using the data you provided results in the desired pretty printing: It appears the issue is that we are ignoring the content type specified by the Content-Type header field and instead relying on highlightjs to detect the type.webhook.site/resources/assets/js/app.js Line 632 in 605a331
Perhaps because the XML snippet is not valid XML, the highlightjs isn't recognizing it as XML. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After submitting a simple XML request to Webhook cloud, the XML pretty print is not applied.
Request:
I noticed this originally because SOAP requests are not formatted.
The text was updated successfully, but these errors were encountered: