summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno De Fraine <bruno@defraine.net>2007-05-04 20:32:27 +0200
committerBruno De Fraine <bruno@defraine.net>2007-05-04 20:32:27 +0200
commit481bd052a0091ae810735a1e3707fa1ce717c70f (patch)
treef38b319cb5a190b229fe2fb671e08023ca4f8200 /lib
parent1983acc20576d136a43b0efc317dd07d1c048536 (diff)
downloadrpg-481bd052a0091ae810735a1e3707fa1ce717c70f.tar.gz
rpg-481bd052a0091ae810735a1e3707fa1ce717c70f.tar.bz2
fix spellchecker/list problems with Safari FS#1129
darcs-hash:20070504183227-8a46b-9fb829ff4b337dace67070e41afc6573c07a3312.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/exe/spellcheck.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/exe/spellcheck.php b/lib/exe/spellcheck.php
index daddebe47..65f80c5e8 100644
--- a/lib/exe/spellcheck.php
+++ b/lib/exe/spellcheck.php
@@ -251,6 +251,7 @@ function spell_resume(){
// restore spaces
$text = preg_replace('/&nbsp;/',' ',$text);
+ $text = preg_replace('/\xC2\xA0/',' ',$text);
// restore quoted special chars
$text = unhtmlspecialchars($text);