summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/utils/spell_html_googie.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-03-17 19:50:13 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-03-17 19:50:13 +0000
commitb9a57c3103a9d2ea9cb76aedf5c75d5029e06413 (patch)
tree93c1af4293f4f54f6f3b3845222a8f6249826ef7 /roundcubemail/program/steps/utils/spell_html_googie.inc
parentce2a6c39e781be0944e11a28b59cae56641bc618 (diff)
- Use \n as a word separator to workaround some strange Google spellchecker issue
git-svn-id: https://svn.roundcube.net/trunk@4612 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/utils/spell_html_googie.inc')
-rw-r--r--roundcubemail/program/steps/utils/spell_html_googie.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/utils/spell_html_googie.inc b/roundcubemail/program/steps/utils/spell_html_googie.inc
index 73011f5b9..ceda62687 100644
--- a/roundcubemail/program/steps/utils/spell_html_googie.inc
+++ b/roundcubemail/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>'