aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-08 16:19:08 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-02-08 16:19:08 +0100
commita3844f8ce58f16b6787f356e1adf5c7f59855ac2 (patch)
tree219c2d1b0a4f3d25cc454d3cda3e23aea8cebf52 /testing/templates
parent06bd6ef634de9a6569f15eb5043540e545371d68 (diff)
downloadaskama-a3844f8ce58f16b6787f356e1adf5c7f59855ac2.tar.gz
askama-a3844f8ce58f16b6787f356e1adf5c7f59855ac2.tar.bz2
askama-a3844f8ce58f16b6787f356e1adf5c7f59855ac2.zip
Fix some bugs in whitespace handling
Diffstat (limited to '')
-rw-r--r--testing/templates/comparison.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/templates/comparison.html b/testing/templates/comparison.html
index 71a4a7b..ea22546 100644
--- a/testing/templates/comparison.html
+++ b/testing/templates/comparison.html
@@ -30,9 +30,9 @@
{%- else -%}
f
{%- endif %}
-{% if a <= b %}
+{% if a <= b -%}
t
-{% endif -%}
+{%- endif -%}
{% if c <= b -%}
t
{%- else -%}