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
Create a request to a service that returns mime type text/html with json body and escaped html inside a string
Observe the HTML getting highlighted and characters converted to their unescaped versions
Compare with piping to cat to remove preprocessing, where the characters are left as they are
Current result
For example, proxy dns.google but set it's return content-type to text/html (proxy_pass https://dns.google; add_header Content-Type text/html always; in nginx).
Checklist
Minimal reproduction code and steps
text/html
with json body and escaped html inside a stringCurrent result
For example, proxy
dns.google
but set it's return content-type to text/html (proxy_pass https://dns.google; add_header Content-Type text/html always;
in nginx).is the raw code, but without
|cat
gets rendered aswhich is incorrect and can be confusing
Expected result
Same as
|cat
output as there's no real HTML to prettifyAdditional information, screenshots, or code examples
The text was updated successfully, but these errors were encountered: