mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
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
This commit is contained in:
@@ -745,7 +745,7 @@ def spaceless(parser, token):
|
||||
<p>
|
||||
<a href="foo/">Foo</a>
|
||||
</p>
|
||||
{% spaceless %}
|
||||
{% endspaceless %}
|
||||
|
||||
This example would return this HTML::
|
||||
|
||||
@@ -758,7 +758,7 @@ def spaceless(parser, token):
|
||||
<strong>
|
||||
Hello
|
||||
</strong>
|
||||
{% spaceless %}
|
||||
{% endspaceless %}
|
||||
"""
|
||||
nodelist = parser.parse(('endspaceless',))
|
||||
parser.delete_first_token()
|
||||
|
||||
Reference in New Issue
Block a user