mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix]: fix engine name may break some css style, contains "right", "left", "center"
This commit is contained in:
parent
3742d558ac
commit
e90fa48018
@ -19,7 +19,7 @@
|
||||
|
||||
<!-- Draw result header -->
|
||||
{% macro result_header(result, favicons, image_proxify) -%}
|
||||
<article class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %} {% if result['category'] %}category-{{ result['category'] }}{% endif %}{% for e in result.engines %} {{ e }}{% endfor %}">
|
||||
<article class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %} {% if result['category'] %}category-{{ result['category'] }}{% endif %}{% for e in result.engines %} {{ e|replace(' ', '') }}{% endfor %}">
|
||||
{{- result_open_link(result.url, "url_header") -}}
|
||||
{%- if favicon_resolver != "" %}
|
||||
<div class="favicon"><img loading="lazy" src="{{ favicon_url(result.parsed_url.netloc) }}"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user