diff --git a/application/third_party/htmlcompressor/controllers/index.php b/application/third_party/htmlcompressor/controllers/index.php index 4850a0f2..a274688b 100644 --- a/application/third_party/htmlcompressor/controllers/index.php +++ b/application/third_party/htmlcompressor/controllers/index.php @@ -227,6 +227,7 @@ class Index extends CI_Controller $style->outertext = ''; } $style_content = str_replace('!important', '', $style_content); + $style_content = str_replace('@charset "utf-8";', '', $style_content); $amp_template = str_replace('/*@CUSTOM-CSS@*/', $style_content, $amp_template);