Admin pages no longer validate as XHTML
|Reported by:||Chris Wilson||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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">
which does not declare any entities, and therefore validation fails when it encounters › entities in the breadcrumbs in
<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?