diff --git a/src/utils.py b/src/utils.py index b0d9ec584..e24093b49 100755 --- a/src/utils.py +++ b/src/utils.py @@ -56,7 +56,7 @@ class HtmlToText(sgmllib.SGMLParser): def getText(self): text = ''.join(self.data).strip() - return ''.join(text.split()) # normalize whitespace + return ' '.join(text.split()) # normalize whitespace def htmlToText(s): x = HtmlToText()