logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 8fb6ea1bf12f6a167b8361795e234876f43d6273
parent 5104552937057a60e63a1dc3002469954cf4a658
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date:   Wed, 10 Dec 2014 18:27:08 +0100

Add title and alt on image in infobox

Diffstat:

Msearx/templates/default/infobox.html3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/searx/templates/default/infobox.html b/searx/templates/default/infobox.html @@ -1,6 +1,6 @@ <div class="infobox"> <h2>{{ infobox.infobox }}</h2> - {% if infobox.img_src %}<img src="{{ infobox.img_src }}" />{% endif %} + {% if infobox.img_src %}<img src="{{ infobox.img_src }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %} <p>{{ infobox.entity }}</p> <p>{{ infobox.content | safe }}</p> {% if infobox.attributes %} @@ -42,3 +42,4 @@ <br /> </div> + name=