From 19fd3f4eff468bf6ded1bf5453da2156a27a4c7e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 11 Jun 2013 22:36:33 +0200 Subject: [PATCH] Fixed stripHTML issue --- wcfsetup/install/files/lib/util/StringUtil.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/util/StringUtil.class.php b/wcfsetup/install/files/lib/util/StringUtil.class.php index 4c44cc6407..06c65281d0 100644 --- a/wcfsetup/install/files/lib/util/StringUtil.class.php +++ b/wcfsetup/install/files/lib/util/StringUtil.class.php @@ -15,9 +15,9 @@ use wcf\system\WCF; */ final class StringUtil { const HTML_PATTERN = '~] - ))*\s*/?>~ix'; + ))?)*\s*/?>~ix'; const HTML_COMMENT_PATTERN = '~~'; /** -- 2.20.1