summaryrefslogtreecommitdiff
path: root/searx/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/utils.py')
-rw-r--r--searx/utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/searx/utils.py b/searx/utils.py
index f87ea177a..de5b68ca3 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -59,7 +59,6 @@ def highlight_content(content, query):
if content.find('<') != -1:
return content
- query = query.decode()
if content.lower().find(query.lower()) > -1:
query_regex = '({0})'.format(re.escape(query))
content = re.sub(query_regex, '<span class="highlight">\\1</span>',