Update stringparser.class.php

This commit is contained in:
Fraenkiman 2024-01-02 18:28:46 +01:00
parent a29052ba38
commit 9577b51aca

View File

@ -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 ?? '';