comet-cache icon indicating copy to clipboard operation
comet-cache copied to clipboard

HTML Compressor and SVG Filters

Open addedlovely opened this issue 8 years ago • 0 comments

When using SVG filters in CSS - which reference an inline SVG file - the HTML compressor appends the theme directory to the path (breaking the filter). filter: url('#blur');

Gets transformed to: filter: url('/wp-content/themes/bespoke/style.css#blur')

Expected behavouir would be to not append the URL to the path.

Seen in Comet Cache Pro (v170220).

addedlovely avatar Oct 26 '17 14:10 addedlovely