diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-10 18:27:08 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-10 18:27:08 +0100 |
commit | 8fb6ea1bf12f6a167b8361795e234876f43d6273 (patch) | |
tree | 7079c0ff97cbf04c6790f610a6fe572cb7e2547a /searx/templates | |
parent | 5104552937057a60e63a1dc3002469954cf4a658 (diff) | |
download | searxng-8fb6ea1bf12f6a167b8361795e234876f43d6273.tar.gz searxng-8fb6ea1bf12f6a167b8361795e234876f43d6273.zip |
Add title and alt on image in infobox
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/default/infobox.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/templates/default/infobox.html b/searx/templates/default/infobox.html index d03b008f9..e99e9868b 100644 --- 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= |