diff --git a/lib/base/filter/filter.class.php b/lib/base/filter/filter.class.php index 3d2f1d27f3..c7c4baea46 100644 --- a/lib/base/filter/filter.class.php +++ b/lib/base/filter/filter.class.php @@ -1118,8 +1118,6 @@ class baseFixer * purifier会把 替换空格,kindeditor再会把行首的空格去掉。 * purifier will change   to ' ', and kindeditor will remove the header space again. **/ - $data = preg_replace('/<[^>]+[^<]+>/', '>', $data); if($usePurifier) $data = str_replace(' ', '&spnb;', $data); $data = $usePurifier ? $purifier->purify($data) : strip_tags($data, $allowedTags); if($usePurifier) $data = str_replace('&spnb;', ' ', $data);