Skip to content

Commit c0f77bc

Browse files
author
Thomas Grainger
committed
Support XML validator
1 parent cf19370 commit c0f77bc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

debug_toolbar/templates/debug_toolbar/base.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<script src="{% static 'debug_toolbar/js/jquery_existing.js' %}"></script>
1111
{% endif %}
1212
<script src="{% static 'debug_toolbar/js/toolbar.js' %}"></script>
13-
<div id="djDebug" hidden dir="ltr"
13+
<div id="djDebug" hidden="hidden" dir="ltr"
1414
data-store-id="{{ toolbar.store_id }}" data-render-panel-url="{% url 'djdt:render_panel' %}"
1515
{{ toolbar.config.ROOT_TAG_EXTRA_ATTRS|safe }}>
16-
<div hidden id="djDebugToolbar">
16+
<div hidden="hidden" id="djDebugToolbar">
1717
<ul id="djDebugPanelList">
1818
{% if toolbar.panels %}
1919
<li><a id="djHideToolBarButton" href="#" title="{% trans "Hide toolbar" %}">{% trans "Hide" %} &#187;</a></li>
@@ -43,7 +43,7 @@
4343
{% endfor %}
4444
</ul>
4545
</div>
46-
<div hidden id="djDebugToolbarHandle">
46+
<div hidden="hidden" id="djDebugToolbarHandle">
4747
<span title="{% trans "Show toolbar" %}" id="djShowToolBarButton">&#171;</span>
4848
</div>
4949
{% for panel in toolbar.panels %}

debug_toolbar/templates/debug_toolbar/panels/templates.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h4>{% blocktrans count templates|length as template_count %}Template{% plural %
1919
{% if template.context %}
2020
<dd>
2121
<div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">&#x25B6;</span> {% trans "Toggle context" %}</a></div>
22-
<div class="djTemplateHideContextDiv" hidden><code>{{ template.context }}</code></div>
22+
<div class="djTemplateHideContextDiv" hidden="hidden"><code>{{ template.context }}</code></div>
2323
</dd>
2424
{% endif %}
2525
{% endfor %}
@@ -35,7 +35,7 @@ <h4>{% blocktrans count context_processors|length as context_processors_count %}
3535
<dt><strong>{{ key|escape }}</strong></dt>
3636
<dd>
3737
<div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">&#x25B6;</span> {% trans "Toggle context" %}</a></div>
38-
<div class="djTemplateHideContextDiv" hidden><code>{{ value|escape }}</code></div>
38+
<div class="djTemplateHideContextDiv" hidden="hidden"><code>{{ value|escape }}</code></div>
3939
</dd>
4040
{% endfor %}
4141
</dl>

debug_toolbar/templates/debug_toolbar/panels/timer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h4>{% trans "Resource usage" %}</h4>
2222
</table>
2323

2424
<!-- This hidden div is populated and displayed by code in toolbar.timer.js -->
25-
<div id="djDebugBrowserTiming" hidden>
25+
<div id="djDebugBrowserTiming" hidden="hidden">
2626
<h4>{% trans "Browser timing" %}</h4>
2727
<table>
2828
<colgroup>

0 commit comments

Comments
 (0)