summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2012-09-18 16:01:52 +0200
committerLászló Németh <nemeth@numbertext.org>2012-09-18 16:01:52 +0200
commit559f03810d0599efd43c5ad142df9313c12d945e (patch)
tree0b78430ec5cbd17b0dc75da785b8cb060afa9133
parentfb7c76ef5bcbcd1e59f05ab20d745d6f180058b8 (diff)
Fix suggest() splitting
-rw-r--r--ChangeLog3
-rw-r--r--pythonpath/lightproof_impl___implname__.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 191e7e8..cb2a828 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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