From: Fabien Potencier Date: Thu, 14 Apr 2011 05:42:28 +0000 (+0200) Subject: tweaked doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=91750f37e94d3dc823ce46ae2a0e2e726c03d728;p=konrad%2Ftwig.git tweaked doc --- diff --git a/doc/templates.rst b/doc/templates.rst index 9ae8c59..e9f835a 100644 --- 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 '
  • value
  • ' #} -.. versionadded:: 1.1 - - Tag level whitespace control was added in 1.1 - Escaping --------