From 2fb7187a24a64130869fa020b5bd0a134c68bb3b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 13 Jun 2017 22:52:45 +0200 Subject: [PATCH] Removed superfluous bbcode class See #2301 --- com.woltlab.wcf/bbcode.xml | 1 - .../lib/system/bbcode/HtmlBBCode.class.php | 26 ------------------- 2 files changed, 27 deletions(-) delete mode 100644 wcfsetup/install/files/lib/system/bbcode/HtmlBBCode.class.php 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) . ''; - } -} -- 2.20.1