summaryrefslogtreecommitdiff
path: root/jinja2-debug.py
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2011-05-24 16:40:09 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2011-05-24 16:40:09 +0200
commit067879e541d1030283d52099dbd1f7c24f2a4451 (patch)
tree9b96a963b08becec1f6c77f44f6b642ebbfa3873 /jinja2-debug.py
parente68d4c6ec147347e574543e972fa0c2ede771700 (diff)
downloadjinja2-067879e541d1030283d52099dbd1f7c24f2a4451.tar.gz
More extensions in jinja debug
Diffstat (limited to 'jinja2-debug.py')
-rwxr-xr-xjinja2-debug.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/jinja2-debug.py b/jinja2-debug.py
index c9c482f..80bbc62 100755
--- a/jinja2-debug.py
+++ b/jinja2-debug.py
@@ -14,7 +14,10 @@ import jinja2
from werkzeug import script
env = jinja2.Environment(extensions=['jinja2.ext.i18n', 'jinja2.ext.do',
- 'jinja2.ext.loopcontrols'])
+ 'jinja2.ext.loopcontrols',
+ 'jinja2.ext.with_',
+ 'jinja2.ext.autoescape'],
+ autoescape=True)
def shell_init_func():
def _compile(x):