diff --git a/extend/hook/FilterView.php b/extend/hook/FilterView.php index c56bd0cfa..9527cf969 100644 --- a/extend/hook/FilterView.php +++ b/extend/hook/FilterView.php @@ -57,17 +57,19 @@ class FilterView { if (($key = sysconf('tongji_baidu_key'))) { $script = << +\n + +\n\n SCRIPT; - $params = preg_replace('||i', "{$script}\n ", $params); + $params = preg_replace('||i', "{$script}", $params); } }