Merge remote-tracking branch 'origin/master' into feature/protocol-builder

This commit is contained in:
Aaron Louie 2020-02-28 11:17:17 -05:00
commit dc53939eb1
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class Task(object):
def process_documentation(self, documentation): def process_documentation(self, documentation):
'''Runs markdown documentation through the Jinja2 processor to inject data '''Runs markdown documentation through the Jinja2 processor to inject data
create loops, etc...''' create loops, etc...'''
rtemplate = Environment(loader=BaseLoader).from_string(documentation) rtemplate = Environment(autoescape=True, loader=BaseLoader).from_string(documentation)
self.documentation = rtemplate.render(**self.data) self.documentation = rtemplate.render(**self.data)