projects
/
konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ef55950
)
tweaked doc
author
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 14 Apr 2011 05:42:28 +0000 (07:42 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 14 Apr 2011 05:42:28 +0000 (07:42 +0200)
doc/templates.rst
patch
|
blob
|
history
diff --git
a/doc/templates.rst
b/doc/templates.rst
index
9ae8c59
..
e9f835a
100644
(file)
--- a/
doc/templates.rst
+++ b/
doc/templates.rst
@@
-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
--------