diff options
Diffstat (limited to 'searx/templates/simple/infobox.html')
| -rw-r--r-- | searx/templates/simple/infobox.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/simple/infobox.html b/searx/templates/simple/infobox.html index 56c51af77..24e0920b3 100644 --- a/searx/templates/simple/infobox.html +++ b/searx/templates/simple/infobox.html @@ -1,6 +1,6 @@ <aside class="infobox"> <h2><bdi>{{ infobox.infobox }}</bdi></h2> - {% if infobox.img_src %}<img src="{{ image_proxify(infobox.img_src) }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %} + {% if infobox.img_src %}<img src="{{ image_proxify(infobox.img_src) }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}">{%- endif -%} <p><bdi>{{ infobox.content | safe }}</bdi></p> {% if infobox.attributes %} <div class="attributes"> @@ -8,15 +8,15 @@ <dl> <dt><bdi>{{ attribute.label }} :</bdi></dt> {%- if attribute.image -%} - <dd><img src="{{ image_proxify(attribute.image.src) }}" alt="{{ attribute.image.alt }}" /></dd> + <dd><img src="{{ image_proxify(attribute.image.src) }}" alt="{{ attribute.image.alt }}"></dd> {%- else -%} <dd><bdi>{{ attribute.value }}</bdi></dd> {%- endif -%} </dl> - {% endfor %} + {% endfor %} </div> {% endif %} - + {% if infobox.urls %} <div class="urls"> <ul> |