1
0
mirror of https://github.com/django/django.git synced 2025-04-01 12:06:43 +00:00

Fixed <span> nesting in technical 500 template.

This commit is contained in:
Daniel Hahler 2020-01-14 10:08:27 +01:00 committed by Mariusz Felisiak
parent 20debf01bd
commit 4fe486520f

View File

@ -208,7 +208,7 @@
{% endif %} {% endif %}
{% if frames %} {% if frames %}
<div id="traceback"> <div id="traceback">
<h2>Traceback <span class="commands">{% if not is_email %}<a href="#" onclick="return switchPastebinFriendly(this);"> <h2>Traceback{% if not is_email %} <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">
Switch to copy-and-paste view</a></span>{% endif %} Switch to copy-and-paste view</a></span>{% endif %}
</h2> </h2>
<div id="browserTraceback"> <div id="browserTraceback">