File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ compiled again automatically.
39
39
autoescape
40
40
~~~~~~~~~~
41
41
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
+
42
47
**type **: ``boolean `` or ``string `` **default **: ``'name' ``
43
48
44
49
If 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.
1035
1035
To prevent this attack, use *"output escaping" * to transform the characters
1036
1036
which have special meaning (e.g. replace ``< `` by the ``< `` HTML entity).
1037
1037
Symfony applications are safe by default because they perform automatic output
1038
- escaping thanks to the :ref: ` Twig autoescape option < config-twig-autoescape >` :
1038
+ escaping:
1039
1039
1040
1040
.. code-block :: html+twig
1041
1041
You can’t perform that action at this time.
0 commit comments