From 01ee3a6eddceeea2027d1489d550809ced65ab38 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Wed, 24 Jun 2020 14:43:33 +0200 Subject: [PATCH] [fix] remove redundant alt texts from images in Videos, Social Media and Music results - #350 --- searx/templates/oscar/result_templates/default.html | 2 +- searx/templates/oscar/result_templates/videos.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html index 885cbbfa8..57365f34e 100644 --- a/searx/templates/oscar/result_templates/default.html +++ b/searx/templates/oscar/result_templates/default.html @@ -16,7 +16,7 @@ {%- if result.img_src -%}
-{{ result.title|striptags }} + {% if result.content %}

{{ result.content|safe }}

{% endif -%}
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html index 51ed5a025..6d9101d2e 100644 --- a/searx/templates/oscar/result_templates/videos.html +++ b/searx/templates/oscar/result_templates/videos.html @@ -15,7 +15,7 @@
- {{ result.title|striptags }} {{ result.engine }} + {% if result.author %}

{{ _('Author') }}: {{ result.author }}

{% endif %} {% if result.length %}

{{ _('Length') }}: {{ result.length }}

{% endif %} {% if result.content %}

{{ result.content|safe }}

{% endif %}