JSFiddle

jasonmp85's public fiddles

  • Non-Preserved Special Characters

    Some special characters are not directly returned by innerHTML. For instance, < is returned as '&gt;'. This fiddle runs down the entire list of HTML entities and sees which are not returned unencoded.

  • HTML Entities in SVG

    Highcharts calls innerHTML() on the element containing its chart to retrieve the generated SVG. Unfortunately, many browsers will translate a literal UTF NO-BREAK SPACE (U+00A0) into '&nbsp;', which is not a valid XML entity and thus invalid in SVG.