mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
Striptag on alt and title
Strip HTML tags on alt and title of the images
This commit is contained in:
parent
79b936963f
commit
25c743f2af
@ -1,5 +1,5 @@
|
|||||||
<a href="{{ result.img_src }}" data-toggle="modal" data-target="#modal-{{ index }}">
|
<a href="{{ result.img_src }}" data-toggle="modal" data-target="#modal-{{ index }}">
|
||||||
<img src="{{ result.img_src }}" alt="{{ result.title|e }}" title="{{ result.title|e }}" class="img-thumbnail">
|
<img src="{{ result.img_src }}" alt="{{ result.title|striptags }}" title="{{ result.title|striptags }}" class="img-thumbnail">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="modal fade" id="modal-{{ index }}" tabindex="-1" role="dialog" aria-hidden="true">
|
<div class="modal fade" id="modal-{{ index }}" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
|
Loading…
Reference in New Issue
Block a user