summaryrefslogtreecommitdiff
path: root/program/steps/utils/spell_html_googie.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-03-17 19:50:13 +0000
committeralecpl <alec@alec.pl>2011-03-17 19:50:13 +0000
commit8b2c23d6035ed0dbfa460c2775a033df129d0918 (patch)
tree7318c6e04ba9b43200420c0215ee66d291b849f1 /program/steps/utils/spell_html_googie.inc
parenta8317ef1725ce900879253c711a3856f208cf677 (diff)
- Use \n as a word separator to workaround some strange Google spellchecker issue
Diffstat (limited to 'program/steps/utils/spell_html_googie.inc')
-rw-r--r--program/steps/utils/spell_html_googie.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/utils/spell_html_googie.inc b/program/steps/utils/spell_html_googie.inc
index 73011f5b9..ceda62687 100644
--- a/program/steps/utils/spell_html_googie.inc
+++ b/program/steps/utils/spell_html_googie.inc
@@ -80,7 +80,7 @@ if (!empty($CONFIG['spellcheck_uri']))
$path = $a_uri['path'] . ($a_uri['query'] ? '?'.$a_uri['query'] : '') . $lang;
}
-$wordstr = implode(' ', (array) $data);
+$wordstr = implode("\n", (array) $data);
$data = '<?xml version="1.0" encoding="utf-8" ?>'
.'<spellrequest textalreadyclipped="0" ignoredups="0" ignoredigits="1" ignoreallcaps="1">'
.'<text>' . $wordstr . '</text>'