From: Matthias Schmidt Date: Sun, 5 Jan 2014 13:49:28 +0000 (+0100) Subject: Fixes disallowed BBCodes error message with source codes X-Git-Tag: 2.0.2~31^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dae89e2fc8d9b0b027069c6617d61623dd186579;p=GitHub%2FWoltLab%2FWCF.git Fixes disallowed BBCodes error message with source codes Currently, when using a disallowed BBCode in [tt]…[/tt], for example, the disallowed BBCode isn't ignored, even though it isn't parsed. --- diff --git a/wcfsetup/install/files/lib/system/bbcode/BBCodeParser.class.php b/wcfsetup/install/files/lib/system/bbcode/BBCodeParser.class.php index e751a49710..b9eb010b8c 100644 --- a/wcfsetup/install/files/lib/system/bbcode/BBCodeParser.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/BBCodeParser.class.php @@ -520,6 +520,7 @@ class BBCodeParser extends SingletonFactory { $this->setText($text); $this->buildTagArray(false); + $this->buildXMLStructure(); $usedDisallowedBBCodes = array(); foreach ($this->tagArray as $tag) {