magic-removal: Merged to [2014]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b02bb933fd
commit
f2370573bc
|
@ -744,7 +744,7 @@ def spaceless(parser, token):
|
||||||
<p>
|
<p>
|
||||||
<a href="foo/">Foo</a>
|
<a href="foo/">Foo</a>
|
||||||
</p>
|
</p>
|
||||||
{% spaceless %}
|
{% endspaceless %}
|
||||||
|
|
||||||
This example would return this HTML::
|
This example would return this HTML::
|
||||||
|
|
||||||
|
@ -757,7 +757,7 @@ def spaceless(parser, token):
|
||||||
<strong>
|
<strong>
|
||||||
Hello
|
Hello
|
||||||
</strong>
|
</strong>
|
||||||
{% spaceless %}
|
{% endspaceless %}
|
||||||
"""
|
"""
|
||||||
nodelist = parser.parse(('endspaceless',))
|
nodelist = parser.parse(('endspaceless',))
|
||||||
parser.delete_first_token()
|
parser.delete_first_token()
|
||||||
|
|
|
@ -677,7 +677,7 @@ Example usage::
|
||||||
<p>
|
<p>
|
||||||
<a href="foo/">Foo</a>
|
<a href="foo/">Foo</a>
|
||||||
</p>
|
</p>
|
||||||
{% spaceless %}
|
{% endspaceless %}
|
||||||
|
|
||||||
This example would return this HTML::
|
This example would return this HTML::
|
||||||
|
|
||||||
|
@ -690,7 +690,7 @@ this example, the space around ``Hello`` won't be stripped::
|
||||||
<strong>
|
<strong>
|
||||||
Hello
|
Hello
|
||||||
</strong>
|
</strong>
|
||||||
{% spaceless %}
|
{% endspaceless %}
|
||||||
|
|
||||||
ssi
|
ssi
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in New Issue