I'm having an issue with autoptimize plugin and responsive websites loading css with media queries like media="screen and (max-width: 940px)"
The media tag is split on the space and thus only the 'screen' word is used and not the whole string.
When changing line 47 in the classes/autoptimizeStyle.php file from:
$media = current(explode(' ',trim($elem),2));
$media = $elem;
the media tags are correct.