You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way the current JSON prettifier logic works, it reads the contents as text, checks if it's JSON, if it is it prettifies it, then it always sets the data back.
It shouldn't be resetting the data it if didn't modify it (i.e. if it's not JSON), because this process will lose HTML entity encoding (most apparent when rendering XML responses, as it won't work at all as-is, since the < and > characters lose their encoding)
The text was updated successfully, but these errors were encountered:
alex-sherwin
added a commit
to alex-sherwin/newman-reporter-htmlfull
that referenced
this issue
Jan 23, 2019
The way the current JSON prettifier logic works, it reads the contents as text, checks if it's JSON, if it is it prettifies it, then it always sets the data back.
It shouldn't be resetting the data it if didn't modify it (i.e. if it's not JSON), because this process will lose HTML entity encoding (most apparent when rendering XML responses, as it won't work at all as-is, since the < and > characters lose their encoding)
The text was updated successfully, but these errors were encountered: