-
Took me a while to figure out why quart suddenly stopped escaping the variables i rendered. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can override I'm also pretty sure there's a few extensions for VS Code that add Jinja template support. |
Beta Was this translation helpful? Give feedback.
You can override
Quart.select_jinja_autoescape(filename)
to returnTrue
when a given filename should have autoescape enabled. The default looks for the extensionshtml
,htm
,xml
,xhtml
, andsvg
.I'm also pretty sure there's a few extensions for VS Code that add Jinja template support.