Skip to content

Commit 94a8655

Browse files
Ocramiuswouterj
authored andcommitted
As per twigphp/Twig#472, automatic escaping is not yet available
1 parent bce3f04 commit 94a8655

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/templating.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ Throughout this chapter, template examples will be shown in both Twig and PHP.
135135
web designers everywhere.
136136

137137
Twig can also do things that PHP can't, such as whitespace control,
138-
sandboxing, automatic and contextual output escaping, and the inclusion of
139-
custom functions and filters that only affect templates. Twig contains
140-
little features that make writing templates easier and more concise. Take
141-
the following example, which combines a loop with a logical ``if``
138+
sandboxing, automatic HTML escaping, manual contextual output escaping,
139+
and the inclusion of custom functions and filters that only affect templates.
140+
Twig contains little features that make writing templates easier and more concise.
141+
Take the following example, which combines a loop with a logical ``if``
142142
statement:
143143

144144
.. code-block:: html+jinja

0 commit comments

Comments
 (0)