commit: b043237c619597131be28ae9d3d0917a3f9b0d4a
parent 74000c739dcc40e331df85d6219654ad06da100b
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date: Wed, 10 Dec 2014 18:11:20 +0100
Correct alt and title
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/templates/courgette/result_templates/images.html b/searx/templates/courgette/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>