Commit 87315cc2 authored by Ramiro Morales's avatar Ramiro Morales
Browse files

Fixed #2411 -- Fixed some XHTML validation errors in admindocs pages. Thanks...

Fixed #2411 -- Fixed some XHTML validation errors in admindocs pages. Thanks to James Wheare for the report and to Simon Greenhill for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 68923489
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@
    {% if library.grouper %}<p class="small quiet">To use these filters, put <code>{% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %}</code> in your template before using the filter.</p><hr />{% endif %}
    {% for filter in library.list|dictsort:"name" %}
    <h3 id="{{ library.grouper|default_if_none:"built_in" }}-{{ filter.name }}">{{ filter.name }}</h3>
    <p>{{ filter.title }}</p>
    <p>{{ filter.body }}</p>
    {{ filter.title }}
    {{ filter.body }}
    {% if not forloop.last %}<hr />{% endif %}
    {% endfor %}
</div>
+2 −2
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@
    {% if library.grouper %}<p class="small quiet">To use these tags, put <code>{% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %}</code> in your template before using the tag.</p><hr />{% endif %}
    {% for tag in library.list|dictsort:"name" %}
    <h3 id="{{ library.grouper|default_if_none:"built_in" }}-{{ tag.name }}">{{ tag.name }}</h3>
    <h4>{{ tag.title }}</h4>
    <p>{{ tag.body }}</p>
    <h4>{{ tag.title|striptags }}</h4>
    {{ tag.body }}
    {% if not forloop.last %}<hr />{% endif %}
    {% endfor %}
</div>
+2 −2
Original line number Diff line number Diff line
@@ -7,9 +7,9 @@

<h1>{{ name }}</h1>

<h2 class="subhead">{{ summary }}</h2>
<h2 class="subhead">{{ summary|striptags }}</h2>

<p>{{ body }}</p>
{{ body }}

{% if meta.Context %}
<h3>Context:</h3>
+1 −1
Original line number Diff line number Diff line
@@ -853,7 +853,7 @@ def do_if(parser, token):
        {% endif %}

    Comparison operators are also available, and the use of filters is also
    allowed, for example:
    allowed, for example::

        {% if articles|length >= 5 %}...{% endif %}