CSS::Inliner breaks if it encounters an HTML comment inside of the
<style> blocks since it passes it off to HTML::Query as a CSS selector
and that results in an error like:
Invalid specification "<!-- .footer" in query: <!-- .footer
It's pretty common to delineate <style> blocks with HTML comments so
that older browsers don't have problems. It should be able to handle
something like this:
<style type="text/css">
<!--
.foo { color: blue }
-->
</style>