Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14038

Frank Goossens on "[Plugin: Autoptimize] Inline css adds weird string at the end of the css"

$
0
0

nice catch ... :)

so this is the culprit;

<style id="s', h, '">', a, "</style>

1. try excluding this from CSS-optimization by experimenting with the CSS-optimization exclusion-string. I _think_ adding style id="s' to the comma-seperated list could do the trick
2. i might indeed have to hard-exclude everything between script-tags from being CSS-optimized. something similar is already in place for noscript, cfr. https://github.com/futtta/autoptimize/blob/master/classes/autoptimizeStyles.php#L62 .. I'll put it on my list of things to think about ;-)

fijne zondag nog,
frank


Viewing all articles
Browse latest Browse all 14038

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>