Browse Source

Correct alt and title

Cqoicebordel 10 years ago
parent
commit
2bb820c281
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/templates/default/result_templates/images.html

+ 1 - 1
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>