mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
e15a18e9fb
commit
49cc12f99d
5 changed files with 11 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue