on master help sign in
Add alt for img

Add alt in infobox image.

commit42692aa2c505463c3a35456a247ff71c42061213 authorCqoicebordel <Cqoicebordel@users.noreply.github.com> dateMon 8 Dec 2014, 01:03 (12 years ago) parent34b5d95
1 file changed+1−1
searx/templates/oscar/infobox.html+1−1
searx/templates/oscar/infobox.html+1−1
@@ -3,7 +3,7 @@
33 <h4 class="panel-title">{{ infobox.infobox }}</h4>
44 </div>
55 <div class="panel-body">
6− {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" />{% endif %}
6+ {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" alt="{{ infobox.infobox }}" />{% endif %}
77 {% if infobox.content %}<p class="infobox_part">{{ infobox.content }}</p>{% endif %}
88
99 {% if infobox.attributes %}