From 58206d816b8bb2632f0c678409fdaf134c571abc Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 14 Apr 2011 10:03:43 +0200 Subject: [PATCH] fixed typos in the doc --- doc/templates.rst | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/templates.rst b/doc/templates.rst index e9f835a..b2afc97 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -177,7 +177,7 @@ leading and or trailing whitespace from any tag type: {{- value -}} {%- endif -%} - {# output 'spaces' #} + {# output 'no spaces' #} The above sample shows the default whitespace control modifier, and how you can use it to remove whitespace around tags. Trimming space will consume all whitespace @@ -189,7 +189,7 @@ of a tag: {% set value = 'no spaces' %}
  • {{- value }}
  • - {# outputs '
  • value
  • ' #} + {# outputs '
  • no spaces
  • ' #} Escaping -------- -- 1.7.2.5