From: moodler Date: Thu, 23 Sep 2004 07:41:37 +0000 (+0000) Subject: Don't strip backslahes from highlighted text X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f60e7cfe1241d3a005259b21e6860701d7c3d911;p=moodle.git Don't strip backslahes from highlighted text --- 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 +?>