summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2013-05-19 11:36:52 +0100
committerArmin Ronacher <armin.ronacher@active-4.com>2013-05-19 11:36:52 +0100
commit4b2c926d9d9f6039502a5b53f448a182807d67a2 (patch)
tree6fadc7cd173e992931ade1264dae4497c7e9fa7b /docs
parent13340f96729a7167b8ca066ea0f3e25c764533d8 (diff)
downloadjinja2-4b2c926d9d9f6039502a5b53f448a182807d67a2.tar.gz
Whitespace normalization
Diffstat (limited to 'docs')
-rw-r--r--docs/switching.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/switching.rst b/docs/switching.rst
index 28f772f..68cdb33 100644
--- a/docs/switching.rst
+++ b/docs/switching.rst
@@ -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 %}