summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/exe/spellcheck.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/exe/spellcheck.php b/lib/exe/spellcheck.php
index 497e863a7..d8faa0291 100644
--- a/lib/exe/spellcheck.php
+++ b/lib/exe/spellcheck.php
@@ -196,10 +196,9 @@ function spell_formatword($word,$suggestions=null){
//konqueror's broken UTF-8 handling needs this
$suggestions = array_map('utf8_tohtml',$suggestions);
- $suggestions = array_map('urlencode',$suggestions);
-
$suggestions = array_map('addslashes',$suggestions);
- $sug = ",'".join("','",$suggestions)."'"; //build javascript args
+
+ $sug = ",'".join("','",$suggestions)."'"; // build javascript args
}else{
$sug = '';
}