diff options
author | bott <mhpoin@gmail.com> | 2018-09-14 02:14:58 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-09-14 13:15:41 +0200 |
commit | 0711e3667b1e06e891b1b6972035d0330c5ae4c2 (patch) | |
tree | f586bf036a7f4c2c2e6c949265f3405351a47ee3 /testing/templates | |
parent | c0f9fe973e6ff608f4f02f8a6cd39f2e9c50ea5c (diff) | |
download | askama-0711e3667b1e06e891b1b6972035d0330c5ae4c2.tar.gz askama-0711e3667b1e06e891b1b6972035d0330c5ae4c2.tar.bz2 askama-0711e3667b1e06e891b1b6972035d0330c5ae4c2.zip |
Fix operator preference at loop.index
Diffstat (limited to '')
-rw-r--r-- | testing/templates/precedence-for.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/templates/precedence-for.html b/testing/templates/precedence-for.html index e5f7e8b..c8d2cdd 100644 --- a/testing/templates/precedence-for.html +++ b/testing/templates/precedence-for.html @@ -1,3 +1,3 @@ {% for s in strings %} - {{- loop.index0 }}. {{ s }}{% if !loop.first %}{% else %} (first){% endif %} + {{- loop.index0 }}. {{ s }}{{ 2 * loop.index }}{% if !loop.first %}{% else %} (first){% endif %} {% endfor %} |