From 7fc21ff775be4558e9b8e966584ea4cf6a34a96c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 27 Apr 2014 18:29:17 +0200 Subject: [PATCH] Remove obsolete code in Highlighter.class.php see https://www.woltlab.com/forum/index.php/Thread/225478-In-manchen-Code-BBCodes-werden-Backslashes-entfernt/ --- .../files/lib/system/bbcode/highlighter/Highlighter.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wcfsetup/install/files/lib/system/bbcode/highlighter/Highlighter.class.php b/wcfsetup/install/files/lib/system/bbcode/highlighter/Highlighter.class.php index d10f3fee3d..7f7b5a6275 100644 --- a/wcfsetup/install/files/lib/system/bbcode/highlighter/Highlighter.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/highlighter/Highlighter.class.php @@ -227,12 +227,8 @@ abstract class Highlighter extends SingletonFactory { if (isset($matches[2])) $comment = $matches[2]; else $comment = ''; - // strip slashes - $string = str_replace("\\\"", "\"", $string); $hash = ''; if (!empty($comment)) { - $comment = str_replace("\\\"", "\"", $comment); - // create hash $hash = StringStack::pushToStringStack(''.StringUtil::encodeHTML($comment).'', 'highlighterComments'); } -- 2.20.1