]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fix the Mako-like environment.
authorFlorent Xicluna <florent.xicluna@gmail.com>
Sun, 5 Feb 2012 11:14:08 +0000 (12:14 +0100)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Sun, 5 Feb 2012 11:14:08 +0000 (12:14 +0100)
docs/switching.rst

index ba3cfb1ff4f1c2aa34cceffb41107b54503c4c52..6d9abb107d49d4a1462af590d71ad94e4e6c95de 100644 (file)
@@ -213,7 +213,7 @@ Jinja2 to look more like Mako:
 
 .. sourcecode:: python
 
-    env = Environment('<%', '%>', '${', '}', '%')
+    env = Environment('<%', '%>', '${', '}', '<%doc>', '</%doc>', '%', '##')
 
 Once the environment is configure like that Jinja2 should be able to interpret
 a small subset of Mako templates.  Jinja2 does not support embedded Python code