kirby-html-minifier
kirby-html-minifier copied to clipboard
Breaks on inline CSS with brace selector
Hi,
my site echos inline css in the page head. This CSS uses braces on some selectors, like a > span.
The plugin seams to cuts away all of the CSS beginning with the first > in finds.
Greetz
Yes, I the < and > is a problem if it's inside inline style or inline js. As a workaround for now, maybe you can move the css into your css file?
Ok, good to know. As a workaround i disabled the plugin :-). Cause i need inline CSS for performance reasons.
That workaround should work as well. 😄
Related: https://github.com/jenstornell/kirby-html-minifier/issues/13