Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Autoescape a template parameter #312

Open
wrouesnel opened this issue Oct 11, 2022 · 0 comments
Open

Make Autoescape a template parameter #312

wrouesnel opened this issue Oct 11, 2022 · 0 comments

Comments

@wrouesnel
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants