commit: 2bb820c2816ca63c13756559993e650a77394ed9
parent 8708e5fc5630910e5a2e9f5e6683468889313f11
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date: Wed, 10 Dec 2014 18:17:10 +0100
Correct alt and title
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/templates/default/result_templates/images.html b/searx/templates/default/result_templates/images.html
@@ -1,6 +1,6 @@
<div class="image_result">
<p>
- <a href="{{ result.img_src }}"><img src="{{ result.img_src }}" title="{{ result.title }}"/></a>
+ <a href="{{ result.img_src }}"><img src="{{ result.img_src }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}" /></a>
<span class="url"><a href="{{ result.url }}" class="small_font">original context</a></span>
</p>
</div>