From: Fabii547 Date: Sun, 27 Sep 2015 07:56:08 +0000 (+0200) Subject: Parse report message with 'SimpleMessageParser' X-Git-Tag: 3.0.0_Beta_1~2111^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd041825992f4a9f7850aa30f392b430ae2e7d76;p=GitHub%2FWoltLab%2FWCF.git Parse report message with 'SimpleMessageParser' --- diff --git a/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueue.class.php b/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueue.class.php index a98ea64453..f96da5472f 100644 --- a/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueue.class.php +++ b/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueue.class.php @@ -6,6 +6,7 @@ use wcf\data\user\UserProfile; use wcf\data\user\UserProfileCache; use wcf\data\DatabaseObjectDecorator; use wcf\data\IUserContent; +use wcf\system\bbcode\SimpleMessageParser; use wcf\system\moderation\queue\ModerationQueueManager; use wcf\system\visitTracker\VisitTracker; @@ -153,7 +154,7 @@ class ViewableModerationQueue extends DatabaseObjectDecorator { * @return string */ public function getFormattedMessage() { - return nl2br(htmlspecialchars($this->message)); + return SimpleMessageParser::getInstance()->parse($this->message); } /**