From e1d2822f1b97e0830ccad7f2819dda4e3e793c92 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 31 Jul 2013 13:05:40 +0200 Subject: [PATCH] Fixed HTML issues in simplified output --- .../install/files/lib/system/bbcode/MessageParser.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/lib/system/bbcode/MessageParser.class.php b/wcfsetup/install/files/lib/system/bbcode/MessageParser.class.php index 78d1ae71b7..f6c4c110a5 100644 --- a/wcfsetup/install/files/lib/system/bbcode/MessageParser.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/MessageParser.class.php @@ -101,6 +101,11 @@ class MessageParser extends BBCodeParser { $this->message = nl2br($this->message); } } + else { + if ($this->getOutputType() == 'text/simplified-html') { + $this->message = StringUtil::stripHTML($this->message); + } + } // parse bbcodes if ($enableBBCodes) { -- 2.20.1