diff --git a/doc/templates.rst b/doc/templates.rst
index c2047d9fb..542b8aefe 100644
--- a/doc/templates.rst
+++ b/doc/templates.rst
@@ -796,11 +796,11 @@ Use the ``spaceless`` tag to remove whitespace *between HTML tags*:
{% spaceless %}
- foo
+ foo bar
{% endspaceless %}
- {# output will be foo
#}
+ {# output will be foo bar
#}
In addition to the spaceless tag you can also control whitespace on a per tag
level. By using the whitespace control modifier on your tags, you can trim