mirror of
https://github.com/vale981/quickdocs-server
synced 2025-03-04 08:41:40 -05:00
Encode URI of category search.
This commit is contained in:
parent
88afba5aff
commit
82457caf53
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue