From: Alexander Ebert Date: Fri, 19 Aug 2016 15:01:17 +0000 (+0200) Subject: Fixed 'about me' X-Git-Tag: 3.0.0_Beta_1~654 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a84322e4a2039cd4ad66906e4f9fc84624ca1f4;p=GitHub%2FWoltLab%2FWCF.git Fixed 'about me' --- diff --git a/wcfsetup/install/files/lib/system/option/user/MessageUserOptionOutput.class.php b/wcfsetup/install/files/lib/system/option/user/MessageUserOptionOutput.class.php index 590c6e07a3..d15b3841c9 100644 --- a/wcfsetup/install/files/lib/system/option/user/MessageUserOptionOutput.class.php +++ b/wcfsetup/install/files/lib/system/option/user/MessageUserOptionOutput.class.php @@ -2,7 +2,7 @@ namespace wcf\system\option\user; use wcf\data\user\option\UserOption; use wcf\data\user\User; -use wcf\system\bbcode\MessageParser; +use wcf\system\html\output\HtmlOutputProcessor; use wcf\system\WCF; use wcf\util\StringUtil; @@ -24,11 +24,12 @@ class MessageUserOptionOutput implements IUserOptionOutput { return ''; } - MessageParser::getInstance()->setOutputType('text/html'); + $htmlOutputProcessor = new HtmlOutputProcessor(); + $htmlOutputProcessor->process($value, 'com.woltlab.wcf.user.aboutMe', $user->userID); WCF::getTPL()->assign([ 'option' => $option, - 'value' => MessageParser::getInstance()->parse($value) + 'value' => $htmlOutputProcessor->getHtml() ]); return WCF::getTPL()->fetch('messageUserOptionOutput'); }