]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Whitespace normalization
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 19 May 2013 10:36:52 +0000 (11:36 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 19 May 2013 10:36:52 +0000 (11:36 +0100)
docs/switching.rst

index 28f772fdb0fab7785a18aa4384efe828c326de70..68cdb3379f293b1cd43fd88e5639a7dfdf5167ad 100644 (file)
@@ -184,7 +184,7 @@ In addition, the Django `empty` argument is called `else` in Jinja2. For example
 Django template::
 
     {% for item in items %}
-        {{item}}
+        {{ item }}
     {% empty %}
         No items!
     {% endfor %}
@@ -192,7 +192,7 @@ Django template::
 would be handled in Jinja2 as::
 
     {% for item in items %}
-        {{item}}
+        {{ item }}
     {% else %}
         No items!
     {% endfor %}