diff --git a/book/templating.rst b/book/templating.rst index 363f926b9b9..65529ed46d5 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -127,17 +127,18 @@ Throughout this chapter, template examples will be shown in both Twig and PHP. not program logic. The more you use Twig, the more you'll appreciate and benefit from this distinction. And of course, you'll be loved by web designers everywhere. - - Twig can also do things that PHP can't, such as whitespace control, sandboxing, - 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: - + + 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`` + statement: + .. code-block:: html+jinja - +