Skip to content

Commit

Permalink
As per twigphp/Twig#472, automatic escaping is not yet available
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius authored and wouterj committed Mar 29, 2015
1 parent bce3f04 commit 94a8655
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions book/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ Throughout this chapter, template examples will be shown in both Twig and PHP.
web designers everywhere.

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

.. code-block:: html+jinja
Expand Down

0 comments on commit 94a8655

Please sign in to comment.