Skip to content
Browse files

More extensions in jinja debug

  • Loading branch information...
1 parent e68d4c6 commit 067879e541d1030283d52099dbd1f7c24f2a4451 @mitsuhiko committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 jinja2-debug.py
View
5 jinja2-debug.py
@@ -14,7 +14,10 @@
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):

0 comments on commit 067879e

Please sign in to comment.
Something went wrong with that request. Please try again.