Skip to content

Commit 312d5ff

Browse files
committed
Merge pull request #39 from MarcinJuraszek/search_html_encode
HTML Encode search query
2 parents 1abbfe7 + 69a6b37 commit 312d5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% endblock %}
99

1010
{% block content %}
11-
<h1>Search: {{ model.Query }}</h1>
11+
<h1>Search: {{ model.Query | escape }}</h1>
1212
<p>{{ model.Count }} result(s)</p>
1313

1414
<div class="row">

0 commit comments

Comments
 (0)