[BUGFIX] Do not call bidir_htmlspecialchars as static function