Don't strip backslahes from highlighted text
This commit is contained in:
+2
-2
@@ -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:
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user