File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ compiled again automatically.
3939autoescape
4040~~~~~~~~~~
4141
42+ .. deprecated :: 6.1
43+
44+ This option is deprecated since Symfony 6.1. If required, use the
45+ ``autoescape_service `` or ``autoescape_service_method `` option instead.
46+
4247**type **: ``boolean `` or ``string `` **default **: ``'name' ``
4348
4449If set to ``false ``, automatic escaping is disabled (you can still escape each content
Original file line number Diff line number Diff line change @@ -1035,7 +1035,7 @@ to perform malicious actions.
10351035To prevent this attack, use *"output escaping" * to transform the characters
10361036which have special meaning (e.g. replace ``< `` by the ``< `` HTML entity).
10371037Symfony applications are safe by default because they perform automatic output
1038- escaping thanks to the :ref: ` Twig autoescape option < config-twig-autoescape >` :
1038+ escaping:
10391039
10401040.. code-block :: html+twig
10411041
You can’t perform that action at this time.
0 commit comments