aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-03-02 23:06:42 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-03-02 23:06:42 +0000
commit9a06ad8d8614b6a026eef09a47b7062b66938a43 (patch)
tree0ec3b46af6ec068c87a56a0d423cffffb220fb65
parent004aca569a2eebc903044f95e93f36516a44a658 (diff)
downloadexternal_python_mako-9a06ad8d8614b6a026eef09a47b7062b66938a43.tar.gz
external_python_mako-9a06ad8d8614b6a026eef09a47b7062b66938a43.tar.bz2
external_python_mako-9a06ad8d8614b6a026eef09a47b7062b66938a43.zip
missing file
-rw-r--r--test/templates/unicode_arguments.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/templates/unicode_arguments.html b/test/templates/unicode_arguments.html
new file mode 100644
index 0000000..f0ece8e
--- /dev/null
+++ b/test/templates/unicode_arguments.html
@@ -0,0 +1,10 @@
+# coding: utf-8
+
+<%def name="my_def(x)">
+ x is: ${x}
+</%def>
+
+${my_def(u'drôle de petit voix m’a réveillé')}
+<%self:my_def x='drôle de petit voix m’a réveillé'/>
+<%self:my_def x="${u'drôle de petit voix m’a réveillé'}"/>
+<%call expr="my_def(u'drôle de petit voix m’a réveillé')"/>