mirror of
https://github.com/searxng/searxng.git
synced 2025-07-15 01:09:21 +02:00
improve https rewriting
This commit is contained in:
parent
6e6dbc1bb4
commit
0616d26feb
2 changed files with 7 additions and 2 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue