aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-04-12 19:49:16 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-04-12 19:49:51 +0200
commite46e2d6b02394eea8ffe7ac723469b9b114e234c (patch)
treec0c0d05e736a8a474f1f01cd1a1f8770a8e8bd46 /testing/templates
parente03df3d9690e228a7a076107d64057c28d63cdfa (diff)
downloadaskama-e46e2d6b02394eea8ffe7ac723469b9b114e234c.tar.gz
askama-e46e2d6b02394eea8ffe7ac723469b9b114e234c.tar.bz2
askama-e46e2d6b02394eea8ffe7ac723469b9b114e234c.zip
Handle a lack of whitespace after match block (fixes #76)
Diffstat (limited to '')
-rw-r--r--testing/templates/match-no-ws.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/templates/match-no-ws.html b/testing/templates/match-no-ws.html
new file mode 100644
index 0000000..2ab0bf3
--- /dev/null
+++ b/testing/templates/match-no-ws.html
@@ -0,0 +1 @@
+{% match foo %}{% when Some with (bar) %}{{ bar }}{% when None %}{% endmatch %}