过来css内的编码设置

hotfix/远程访问多媒体中心
尹诚诚 7 years ago
parent f8bf23c56e
commit d81876192c

@ -227,6 +227,7 @@ class Index extends CI_Controller
$style->outertext = ''; $style->outertext = '';
} }
$style_content = str_replace('!important', '', $style_content); $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); $amp_template = str_replace('/*@CUSTOM-CSS@*/', $style_content, $amp_template);

Loading…
Cancel
Save