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.36k stars 687 forks source link

Simple script output is garbled #219

Open lwoods opened 5 years ago

lwoods commented 5 years ago

Using Chrome, I have a PHP script that has two simple 'echo' statements:

echo 'FIRST TEXT
'; echo 'SECOND TEXT
'; but this outputs:
SECOND TEXT

FIRST TEXT

Turning off 'json-viewer' returns the text in correct order.

lwoods commented 5 years ago

Sorry. Forgot to bracket text:

echo 'FIRST TEXT
'; echo 'SECOND TEXT
';

Outputs:


SECOND TEXT
FIRST TEXT

I don't know how to show a PRE inside a PRE so the 'pppre' above is really 'pre'.

lwoods commented 5 years ago

Forget it! I give up trying to beat this thing!