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

0
pfosten/vendor/tijsverkoyen/css-to-inline-styles/LICENSE.md vendored Executable file → Normal file
View file

8
pfosten/vendor/tijsverkoyen/css-to-inline-styles/composer.json vendored Executable file → Normal file
View file

@ -12,11 +12,11 @@
}
],
"require": {
"php": "^5.5 || ^7",
"symfony/css-selector": "^2.7|~3.0"
"php": "^5.5 || ^7.0",
"symfony/css-selector": "^2.7 || ^3.0 || ^4.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8|5.1.*"
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
},
"autoload": {
"psr-4": {
@ -25,7 +25,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "2.2.x-dev"
}
}
}

0
pfosten/vendor/tijsverkoyen/css-to-inline-styles/phpunit.xml.dist vendored Executable file → Normal file
View file

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