Encode URI of category search.

This commit is contained in:
Eitaro Fukamachi 2015-08-01 00:11:15 +09:00
parent 88afba5aff
commit 82457caf53

View file

@ -36,7 +36,7 @@
<dt>Categories</dt>
<dd>
{% for category in categories %}
<a href="/search?q={{ category }}">{{ category }}</a>{% if not forloop.last %}, {% endif %}
<a href="/search?q={{ category | urlencode }}">{{ category }}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
</dd>
{% endif %}