mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
A bit of utils unit tests
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user