Commit 6d29d642 authored by Bartek Górny's avatar Bartek Górny

bugfix

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9041 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1743ca72
...@@ -57,7 +57,7 @@ def generateParts(context,text,sw,tags,trail,maxlines): ...@@ -57,7 +57,7 @@ def generateParts(context,text,sw,tags,trail,maxlines):
def cutFound(context,txt,sw,tags,trail,maxlines): def cutFound(context,txt,sw,tags,trail,maxlines):
FoundWord.tags=tags FoundWord.tags=tags
text = txt.split(' ') # very rough tokenization text = ' '.join(txt.split('\n')).split(' ') # very rough tokenization
return [p for p in generateParts(context,text,sw,tags,trail,maxlines)] return [p for p in generateParts(context,text,sw,tags,trail,maxlines)]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment