From 6f3f25e733b2ba9670ed9035934acc65a971231b Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 16 Jan 2006 21:44:10 +0000 Subject: [PATCH] Fixed bug in spaceless template-tag documentation. Thanks, Esaj git-svn-id: http://code.djangoproject.com/svn/django/trunk@2014 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/template/defaulttags.py | 4 ++-- docs/templates.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/django/core/template/defaulttags.py b/django/core/template/defaulttags.py index f9197dec92..8d3865660a 100644 --- a/django/core/template/defaulttags.py +++ b/django/core/template/defaulttags.py @@ -745,7 +745,7 @@ def spaceless(parser, token):

Foo

- {% spaceless %} + {% endspaceless %} This example would return this HTML:: @@ -758,7 +758,7 @@ def spaceless(parser, token): Hello - {% spaceless %} + {% endspaceless %} """ nodelist = parser.parse(('endspaceless',)) parser.delete_first_token() diff --git a/docs/templates.txt b/docs/templates.txt index 3dafb068c3..78e94c5b54 100644 --- a/docs/templates.txt +++ b/docs/templates.txt @@ -677,7 +677,7 @@ Example usage::

Foo

- {% spaceless %} + {% endspaceless %} This example would return this HTML:: @@ -690,7 +690,7 @@ this example, the space around ``Hello`` won't be stripped:: Hello - {% spaceless %} + {% endspaceless %} ssi ~~~