forked from zaclys/searxng
		
	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 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
<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>
 | 
			
		||||
 | 
			
		||||
<div class="modal fade" id="modal-{{ index }}" tabindex="-1" role="dialog" aria-hidden="true">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue