=>
*/
- $html = preg_replace_callback('#<(\S+)([^>]+)>#s', function ($matches) {
+ $html = preg_replace_callback('#<([^\s>]+)([^>]+)>#s', function ($matches) {
$result = '<'.$matches[1];
@@ -168,7 +168,6 @@ public function postProcessHTML ($html, array $options = []) {
$html = preg_replace('##s', '', $html);
}
- // $html = str_replace($options['scheme'].'://', '//', $html);
$html = preg_replace_callback('#]+)?>(.*?)#si', function ($matches) {
return ''. preg_replace('#>[\r\n\t ]+<#s', '><', $matches[2]).'';
diff --git a/language/en-GB/en-GB.plg_system_gzip.ini b/language/en-GB/en-GB.plg_system_gzip.ini
index 314944c..0fed285 100644
--- a/language/en-GB/en-GB.plg_system_gzip.ini
+++ b/language/en-GB/en-GB.plg_system_gzip.ini
@@ -173,6 +173,9 @@ PLG_GZIP_FIELD_FETCHCSS_DESCRIPTION=""
PLG_GZIP_FIELD_MERGECSS_LABEL="Merge CSS"
PLG_GZIP_FIELD_MERGECSS_DESCRIPTION=""
+PLG_GZIP_FIELD_PARSE_INLINE_CSS_LABEL="Parse Inline CSS Attribute"
+PLG_GZIP_FIELD_PARSE_INLINE_CSS_DESCRIPTION=""
+
PLG_GZIP_FIELD_FONT_REPLOAD_LABEL="Preload Web Font"
PLG_GZIP_FIELD_FONT_REPLOAD_DESCRIPTION=""