dcrousso / JSONView-Safari

A Safari port of the JSONView extension
https://jsonview.com
26 stars 7 forks source link

Avoid using HTML encoded version of the JSON #3

Open tobiashm opened 6 years ago

tobiashm commented 6 years ago

By reading out innerHTML we get escaped entities for HTML special character like: & < > textContent gives us the raw text from the JSON.

Example of the problem: screen shot 2018-05-09 at 08 49 57