#19363: Admin pages no longer validate as XHTML
-------------------------------+-------------------------
Reporter: gcc | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.5-alpha-1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-------------------------
The Admin pages used to validate as XHTML, and it seems that that was
intended, as the validation failure pointed out in #544 was fixed.
However it is now broken again, because the doctype in the header has
changed from:
{{{
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
}}}
to just:
{{{
<!DOCTYPE html>
}}}
which does not declare any entities, and therefore validation fails when
it encounters › entities in the breadcrumbs in `admin/base.html`:
{{{
<div class="breadcrumbs">
<a href="/admin/">Home</a>
› <a href="/admin/users/">Users</a>
› <a href="/admin/users/ischooluser/">ISchool Users</a>
› john
</div>
}}}
I'd be OK with a more relaxed doctype, but if that's the intention, please
can you at least wrap it in a block so that we can override it without
copying and pasting the whole of `admin/base.html` just to change one
line?
--
Ticket URL: <https://code.djangoproject.com/ticket/19363>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.