forked from orbit-oss/flask
Add .svg to select_jinja_autoescape (#4840)
As SVG files are a type of XML file and are similar in nearly all aspects to XML, .svg should also be autoescaped.
This commit is contained in:
parent
631b6dd546
commit
79032ca5f1
3 changed files with 8 additions and 2 deletions
|
|
@ -3,6 +3,9 @@ Version 2.2.3
|
|||
|
||||
Unreleased
|
||||
|
||||
- Autoescaping is now enabled by default for ``.svg`` files. Inside
|
||||
templates this behavior can be changed with the ``autoescape`` tag.
|
||||
:issue:`4831`
|
||||
- Fix the type of ``template_folder`` to accept ``pathlib.Path``. :issue:`4892`
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue