Causes issue with data: URIs
-
I switched some SVG images on my site to use data URIs instead of loading the images directly. WP-HTML-Compression was inserting a slash in front of the MIME type, causing the images not to display.
So instead of:
data:image/svg+xml;base64,mZiIvPjwvZz…I got:
data:/image/svg+xml;base64,mZiIvPjwvZz…I worked around it with “no compression” comments, but it would be great if your plugin could sniff out data: URIs and leave them alone.
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Causes issue with data: URIs’ is closed to new replies.