Hey,
It is pretty common (and this is how JSDOM behaves) for HTML serializers to allow special-casing the single quote ' to not be encoded when using double-quote " as the attribute value delimiter.
While the current behavior works perfectly fine, it does make quote-heavy content like CSPs or SVG-data-URIs very busy to read.
Thanks!
Hey,
It is pretty common (and this is how JSDOM behaves) for HTML serializers to allow special-casing the single quote
'to not be encoded when using double-quote"as the attribute value delimiter.While the current behavior works perfectly fine, it does make quote-heavy content like CSPs or SVG-data-URIs very busy to read.
Thanks!