* finish task #6229.

This commit is contained in:
wangyidong
2019-08-20 17:24:40 +08:00
parent f601e76a6a
commit 5afc39c8e7
+2 -2
View File
@@ -1027,8 +1027,8 @@ class baseFixer
if(!defined('RUN_MODE') or RUN_MODE != 'admin')
{
/*
* purifier会把 替换空格,kindeditor在会吧行首的空格去掉。
* purifier will change   to ' ', and edit it will no space in line head use kindeditor.
* purifier会把 替换空格,kindeditor再会把行首的空格去掉。
* purifier will change   to ' ', and kindeditor will remove the header space again.
**/
$this->data->$fieldName = preg_replace('/<[^>]+</', '<', $this->data->$fieldName);
$this->data->$fieldName = preg_replace('/>[^<]+>/', '>', $this->data->$fieldName);