jinja2: rename filter 'urlencode' to 'quote_plus'

urlencode does more than just a quote_plus. Using urlencode
was not sensible, so this commit addresses that.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-08-20 14:44:36 -07:00
parent e15a18e9fb
commit 49cc12f99d
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
5 changed files with 11 additions and 8 deletions

View file

@ -2,7 +2,7 @@
<ul id="voters">
{% for voter in voters %}
<li>
<a href="/account/{{ voter.Username | urlencode }}">
<a href="/account/{{ voter.Username | quote_plus }}">
{{ voter.Username | e }}
</a>
</li>