forked from zaclys/searxng
		
	Adding a CR in  some files and in others not,  is  a good starting point for a
DOS+Unix mess we all have already seen in many projects.
Patch fixes all files matching (even those comming from grunt's build)::
   find ./searx -exec file {} \; | grep CR
BTW: Same with mixing TAB and SPACE indent styles in one and the same file.  So
if sources are tuched here in this patch, its also fixed.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
		
	
			
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			716 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			716 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
 | 
						|
 | 
						|
{{ result_header(result, favicons) }}
 | 
						|
{{ result_sub_header(result) }}
 | 
						|
 | 
						|
{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
 | 
						|
 | 
						|
{% if result.repository %}<p class="result-content">{{ icon('file') }} <a href="{{ result.repository }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.repository }}</a></p>{% endif %}
 | 
						|
 | 
						|
<div dir="ltr">
 | 
						|
{{ result.codelines|code_highlighter(result.code_language)|safe }}
 | 
						|
</div>
 | 
						|
 | 
						|
{% if rtl %}
 | 
						|
{{ result_footer_rtl(result) }}
 | 
						|
{% else %}
 | 
						|
{{ result_footer(result) }}
 | 
						|
{% endif %}
 |