From 967d390ce77749e8b6d06b030bf2d00eb7672df4 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 13 Jan 2017 08:58:23 +0000 Subject: [PATCH] Ignore autoescape, breaks pelican --- plugins/pelican-jinja2content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pelican-jinja2content.py b/plugins/pelican-jinja2content.py index 304435f..2aad33e 100644 --- a/plugins/pelican-jinja2content.py +++ b/plugins/pelican-jinja2content.py @@ -9,7 +9,7 @@ from jinja2 import Environment, ChoiceLoader, FileSystemLoader def execjinja2(instance): if type(instance) in (contents.Article, contents.Page): base_path = os.path.dirname(os.path.abspath(__file__)) - jinja2_env = Environment( + jinja2_env = Environment( # nosec loader=ChoiceLoader([ FileSystemLoader( os.path.join(base_path, instance.settings['THEME'], 'templates')