From 067879e541d1030283d52099dbd1f7c24f2a4451 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Tue, 24 May 2011 16:40:09 +0200 Subject: [PATCH] More extensions in jinja debug --- jinja2-debug.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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): -- 2.26.2