tulios / json-viewer

It is a Chrome extension for printing JSON and JSONP.
https://chrome.google.com/webstore/detail/json-viewer/gbmdgpbipfallnflgajpaliibnhdgobh
MIT License
3.31k stars 678 forks source link

PRE appending at bottom #203

Open mike-nelson opened 6 years ago

mike-nelson commented 6 years ago

I really like this extension, it is awesome! But something has been bugging me for a while and i just found out it is this extension doing it.

I often write quick utility code to process things and I never bother outputting an HTML tag when I am doing this. I have a lot of utility scripts like this, having been doing this for years. In this case the first line is always wrapped in PRE and stuck at the bottom. This is annoying because it is in the wrong order.

Another example this old school microsoft error message has no HTML tag and it displays backwards:

An error occurred on the server when processing the URL. Please contact the system administrator.

If you are the system administrator please click here to find out more about this error.

The extension displays as this:

If you are the system administrator please click here to find out more about this error.

An error occurred on the server when processing the URL. Please contact the system administrator. 

Can this be fixed please?

tulios commented 6 years ago

This is related to #180