mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[fix] proper escaping of the search query in templates
This commit is contained in:
parent
7986d4cf41
commit
28f12ef5a0
4 changed files with 20 additions and 20 deletions
|
@ -5,7 +5,7 @@
|
|||
{% endfor %}
|
||||
{% else %}
|
||||
{% extends "pix-art/base.html" %}
|
||||
{% block title %}{{ q }} - {% endblock %}
|
||||
{% block title %}{{ q|e }} - {% endblock %}
|
||||
{% block meta %}{% endblock %}
|
||||
{% block content %}
|
||||
<div id="logo"><a href="./"><img src="{{ url_for('static', filename='img/searx-pixel-small.png') }}" alt="searx Logo"/></a></div>
|
||||
|
@ -25,8 +25,8 @@
|
|||
</span>
|
||||
<div id="pagination">
|
||||
<br />
|
||||
<input type="button" onclick="load_more('{{ q }}', {{ pageno+1 }})" id="load_more" value="{{ _('Load more...') }}" />
|
||||
<input type="button" onclick="load_more('{{ q|e }}', {{ pageno+1 }})" id="load_more" value="{{ _('Load more...') }}" />
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue