From: Armin Ronacher Date: Tue, 24 May 2011 14:40:09 +0000 (+0200) Subject: More extensions in jinja debug X-Git-Tag: 2.6~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=067879e541d1030283d52099dbd1f7c24f2a4451;p=jinja2.git More extensions in jinja debug --- 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):