-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Blurbs: set autoescape in Jinja2 environment #4941
Comments
Isn't autoescape set to True by default? Even so, I can't find the Assigning back to Laren until he can clarify what the ask is here, because all of the examples of |
It's not True by default, that's the trouble--it should be but for some reason the creators didn't do it that way. The file is here, you merged it 9 months ago: https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/.doc_gen/images/render-blurbs.py If you don't need it, I say remove the whole thing. |
Done. #5419 |
Best practice is to set autoescape in your Jinja2 environment in render-blurbs.py:
Or similar, assuming this doesn't break anything.
The text was updated successfully, but these errors were encountered: