From f60e7cfe1241d3a005259b21e6860701d7c3d911 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 23 Sep 2004 07:41:37 +0000 Subject: [PATCH] Don't strip backslahes from highlighted text --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 156760f0c6..2fb908523d 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1283,7 +1283,7 @@ function highlight($needle, $haystack, $case=0, } $haystack = str_replace(array_keys($final),$final,$haystack); - return stripslashes($haystack); + return $haystack; } /** @@ -3246,4 +3246,4 @@ function print_speller_button () { echo ''."\n"; } // vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140: -?> \ No newline at end of file +?> -- 2.39.5