-
Notifications
You must be signed in to change notification settings - Fork 1
[#13] Add prettyfier based on content-type #17
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
[#13] Add prettyfier based on content-type #17
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17 +/- ##
==========================================
- Coverage 97.75% 95.94% -1.81%
==========================================
Files 21 22 +1
Lines 445 469 +24
Branches 57 30 -27
==========================================
+ Hits 435 450 +15
- Misses 6 14 +8
- Partials 4 5 +1 ☔ View full report in Codecov by Sentry. |
39b3d56 to
aca1430
Compare
|
I changed @vaszig initial idea a bit, to create a |
|
Nice, thanks Daniel! Will let Steven review |
because for browsers other than Chrome and Opera, XSLTProcessor does not respect indent=yes
c92212c to
06f743e
Compare
stevenbal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielmursa-dev realized I let this one linger for months, I made some changes to the XML formatting, if you have time, maybe you can have a look and could make a new release for this library?
Fixes #13
Added
Prettifybutton in the admin change view, to get a better view of the output only if it is 'XMLorJSON`.es: XML

es: JSON
