From dae89e2fc8d9b0b027069c6617d61623dd186579 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 5 Jan 2014 14:49:28 +0100 Subject: [PATCH] Fixes disallowed BBCodes error message with source codes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Currently, when using a disallowed BBCode in [tt]…[/tt], for example, the disallowed BBCode isn't ignored, even though it isn't parsed. --- wcfsetup/install/files/lib/system/bbcode/BBCodeParser.class.php | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.20.1