mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 07:37:43 +00:00
tweaked doc
This commit is contained in:
+3
-4
@@ -146,6 +146,9 @@ add information for other template designers or yourself:
|
||||
Whitespace Control
|
||||
------------------
|
||||
|
||||
.. versionadded:: 1.1
|
||||
Tag level whitespace control was added in Twig 1.1.
|
||||
|
||||
The first newline after a template tag is removed automatically (like in PHP.)
|
||||
Whitespace is not further modified by the template engine, so each whitespace
|
||||
(spaces, tabs, newlines etc.) is returned unchanged.
|
||||
@@ -188,10 +191,6 @@ of a tag:
|
||||
|
||||
{# outputs '<li>value </li>' #}
|
||||
|
||||
.. versionadded:: 1.1
|
||||
|
||||
Tag level whitespace control was added in 1.1
|
||||
|
||||
Escaping
|
||||
--------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user