WordPress.org

Support

Support » Plugins and Hacks » WP-HTML-Compression » [Resolved] Causes issue with data: URIs

[Resolved] 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!

    http://wordpress.org/extend/plugins/wp-html-compression/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Causes issue with data: URIs’ is closed to new replies.
Skip to toolbar