summaryrefslogtreecommitdiff
path: root/searx/utils.py
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-01-27 20:03:33 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-01-27 20:03:33 +0100
commitcfe81d741cdd2517c4587071e4afbdd0adb923bd (patch)
treea13448cf953d7d7e3641349adedc80ccbfbe1d77 /searx/utils.py
parent4dba3739fb3b98572cbd51adab226376b5844105 (diff)
A bit of utils unit tests
Diffstat (limited to 'searx/utils.py')
-rw-r--r--searx/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/utils.py b/searx/utils.py
index f15f8a4bc..59d4b85be 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -115,7 +115,7 @@ class HTMLTextExtractor(HTMLParser):
self.result.append(name)
def get_text(self):
- return u''.join(self.result)
+ return u''.join(self.result).strip()
def html_to_text(html):