From 5afc39c8e7e004b0f59eac0aeb51fc78f915301a Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 20 Aug 2019 17:24:40 +0800 Subject: [PATCH] * finish task #6229. --- lib/base/filter/filter.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base/filter/filter.class.php b/lib/base/filter/filter.class.php index 56b60939c4..66ec5b37e9 100644 --- a/lib/base/filter/filter.class.php +++ b/lib/base/filter/filter.class.php @@ -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('/<[^>]+data->$fieldName); $this->data->$fieldName = preg_replace('/>[^<]+>/', '>', $this->data->$fieldName);