Don't strip backslahes from highlighted text

This commit is contained in:
moodler
2004-09-23 07:41:37 +00:00
parent fe51520688
commit f60e7cfe12
+2 -2
View File
@@ -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 '<input type="button" value="Check spelling" onclick="openSpellChecker();" />'."\n";
}
// vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140:
?>
?>