Skip to content

Commit ba4eadf

Browse files
committed
[#2459] Adding notes about new autoescape feature
1 parent 9aaab74 commit ba4eadf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/configuration/twig.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ TwigBundle Configuration Reference
3232
type: ~
3333
value: ~
3434
autoescape: ~
35+
36+
# The following were added in Symfony 2.3.
37+
# See http://twig.sensiolabs.org/doc/recipes.html#using-the-template-name-to-set-the-default-escaping-strategy
3538
autoescape_service: ~ # Example: @my_service
3639
autoescape_service_method: ~ # use in combination with autoescape_service option
3740
base_template_class: ~ # Example: Twig_Template

0 commit comments

Comments
 (0)