From: Alexander Ebert Date: Tue, 13 Jun 2017 20:52:45 +0000 (+0200) Subject: Removed superfluous bbcode class X-Git-Tag: 3.1.0_Alpha_1~363 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2fb7187a24a64130869fa020b5bd0a134c68bb3b;p=GitHub%2FWoltLab%2FWCF.git Removed superfluous bbcode class See #2301 --- diff --git a/com.woltlab.wcf/bbcode.xml b/com.woltlab.wcf/bbcode.xml index d3dd5d6ee7..096dd6eb18 100644 --- a/com.woltlab.wcf/bbcode.xml +++ b/com.woltlab.wcf/bbcode.xml @@ -230,7 +230,6 @@ - wcf\system\bbcode\HtmlBBCode 1 1 fa-html5 diff --git a/wcfsetup/install/files/lib/system/bbcode/HtmlBBCode.class.php b/wcfsetup/install/files/lib/system/bbcode/HtmlBBCode.class.php deleted file mode 100644 index 549bd4dde4..0000000000 --- a/wcfsetup/install/files/lib/system/bbcode/HtmlBBCode.class.php +++ /dev/null @@ -1,26 +0,0 @@ - - * @package WoltLabSuite\Core\System\Bbcode - */ -class HtmlBBCode extends AbstractBBCode { - /** - * @inheritDoc - */ - public function getParsedTag(array $openingTag, $content, array $closingTag, BBCodeParser $parser) { - $email = ''; - if (isset($openingTag['attributes'][0])) { - $email = $openingTag['attributes'][0]; - } - $email = StringUtil::decodeHTML($email); - - return '' . StringUtil::encodeHTML($email) . ''; - } -}