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