diff options
author | László Németh <nemeth@numbertext.org> | 2012-09-18 16:01:52 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2012-09-18 16:01:52 +0200 |
commit | 559f03810d0599efd43c5ad142df9313c12d945e (patch) | |
tree | 0b78430ec5cbd17b0dc75da785b8cb060afa9133 | |
parent | fb7c76ef5bcbcd1e59f05ab20d745d6f180058b8 (diff) |
Fix suggest() splitting
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | pythonpath/lightproof_impl___implname__.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +2012-09-18 László Németh <nemeth@numbertext.org>: + - fix suggest() splitting + 2012-08-24 László Németh <nemeth@numbertext.org>: - fix URL splitting - update URLs in English rules diff --git a/pythonpath/lightproof_impl___implname__.py b/pythonpath/lightproof_impl___implname__.py index 8fd9db5..c4f7cce 100644 --- a/pythonpath/lightproof_impl___implname__.py +++ b/pythonpath/lightproof_impl___implname__.py @@ -119,7 +119,7 @@ def suggest(rLoc, word): if not x: return word t = x.getAlternatives() - suggestions[word] = join(t, "\\n") + suggestions[word] = join(t, "|") return suggestions[word] # get the nth word of the input string or None |