mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 12:10:00 +00:00
improve https rewriting
This commit is contained in:
@@ -247,6 +247,9 @@ def index():
|
||||
# set new url
|
||||
result['url'] = new_result_url
|
||||
|
||||
# target has matched, do not search over the other rules
|
||||
break
|
||||
|
||||
if search.request_data.get('format', 'html') == 'html':
|
||||
if 'content' in result:
|
||||
result['content'] = highlight_content(result['content'],
|
||||
|
||||
Reference in New Issue
Block a user