aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
authorLibravatar Qian Linfeng <thewawar@gmail.com>2018-10-20 13:46:48 +0800
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-10-20 20:34:47 +0200
commit5be6479f2c4fc68b9a62f9359dda673be76ada15 (patch)
treeb903e3f02053e30a84a8e062a8497b0ea82f534b /testing/templates
parent4fa029f26fd78b648024be1a2de6a143936c470d (diff)
downloadaskama-5be6479f2c4fc68b9a62f9359dda673be76ada15.tar.gz
askama-5be6479f2c4fc68b9a62f9359dda673be76ada15.tar.bz2
askama-5be6479f2c4fc68b9a62f9359dda673be76ada15.zip
Add test for unescaped variable expressions (see #132)
Diffstat (limited to 'testing/templates')
-rw-r--r--testing/templates/simple-no-escape.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/templates/simple-no-escape.txt b/testing/templates/simple-no-escape.txt
new file mode 100644
index 0000000..cc839dc
--- /dev/null
+++ b/testing/templates/simple-no-escape.txt
@@ -0,0 +1,5 @@
+{# our very first test! #}
+hello world, {{ strvar }}
+with number: {{ num }}
+Iñtërnâtiônàlizætiøn is important
+in vars too: {{ i18n }}