From 91750f37e94d3dc823ce46ae2a0e2e726c03d728 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 14 Apr 2011 07:42:28 +0200 Subject: [PATCH] tweaked doc --- doc/templates.rst | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) 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 -------- -- 1.7.2.5