From 9577b51aca6ca7559adae21d31f5652507165a41 Mon Sep 17 00:00:00 2001 From: Fraenkiman Date: Tue, 2 Jan 2024 18:28:46 +0100 Subject: [PATCH] Update stringparser.class.php --- fp-plugins/bbcode/inc/stringparser.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fp-plugins/bbcode/inc/stringparser.class.php b/fp-plugins/bbcode/inc/stringparser.class.php index 1341924..81b0a18 100755 --- a/fp-plugins/bbcode/inc/stringparser.class.php +++ b/fp-plugins/bbcode/inc/stringparser.class.php @@ -296,10 +296,6 @@ class StringParser { return false; } $this->_parsing = true; - { - $text = $text ?? ''; // If the value passed into function is null set $text to a blank string - return htmlspecialchars($text, ENT_QUOTES, 'UTF-8', false); // Return escaped string - } $this->_text = $this->_applyPrefilters($text); $this->_output = null; $this->_text = $this->_text ?? '';