Kaydet (Commit) 6f3f25e7 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst f1f2005c
......@@ -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()
......
......@@ -677,7 +677,7 @@ Example usage::
<p>
<a href="foo/">Foo</a>
</p>
{% spaceless %}
{% endspaceless %}
This example would return this HTML::
......@@ -690,7 +690,7 @@ this example, the space around ``Hello`` won't be stripped::
<strong>
Hello
</strong>
{% spaceless %}
{% endspaceless %}
ssi
~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment