This commit is contained in:
Torsten 2018-08-07 10:42:11 +02:00
parent 98419bd18d
commit 8a69e45efa
4919 changed files with 28311 additions and 224136 deletions

View file

@ -33,7 +33,8 @@ class Processor
{
$css = '';
$matches = array();
preg_match_all('|<style(?:\s.*)?>(.*)</style>|isU', $html, $matches);
$htmlNoComments = preg_replace('|<!--.*?-->|s', '', $html);
preg_match_all('|<style(?:\s.*)?>(.*)</style>|isU', $htmlNoComments, $matches);
if (!empty($matches[1])) {
foreach ($matches[1] as $match) {

View file

View file

View file

View file

View file