flosch/pongo2

Make Autoescape a template parameter

wrouesnel opened this issue · 0 comments

Currently the only way to set autoescape is either via a template directive, or globally via pongo2.SetAutoescape. There's no way to set it for individual template sets or before template execution via Options.

The request here is to expand the Options object to allow controlling the Autoescape parameter's default value prior to template execution.