diff options
author | alecpl <alec@alec.pl> | 2011-03-31 12:32:44 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-03-31 12:32:44 +0000 |
commit | 382b8b1351e1a4598f04ab184cec803b96d7e4b7 (patch) | |
tree | 4a168a018618445f53afd5aa651fb655e68149d9 /program/steps/utils/spell_googie.inc | |
parent | 5228a5558f0ee9af785f1b4cdcef4d97b17b33f6 (diff) |
- Applied fixes from trunk
Diffstat (limited to 'program/steps/utils/spell_googie.inc')
-rw-r--r-- | program/steps/utils/spell_googie.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/utils/spell_googie.inc b/program/steps/utils/spell_googie.inc index 4c98dd697..269d792dd 100644 --- a/program/steps/utils/spell_googie.inc +++ b/program/steps/utils/spell_googie.inc @@ -41,6 +41,8 @@ if (!empty($CONFIG['spellcheck_uri'])) } $data = file_get_contents('php://input'); +// Google has some problem with spaces, use \n instead +$data = str_replace(' ', "\n", $data); $store = ""; if ($fp = fsockopen($host, $port, $errno, $errstr, 30)) |