[wp-meta] [Making WordPress.org] #8159: Trac pages claim XHTML, render as HTML5
Making WordPress.org
noreply at wordpress.org
Tue Jan 27 06:32:47 UTC 2026
#8159: Trac pages claim XHTML, render as HTML5
-------------------------+-------------------------
Reporter: jonsurrell | Owner: dd32
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Trac | Resolution: maybelater
Keywords: |
-------------------------+-------------------------
Changes (by dd32):
* status: accepted => closed
* resolution: => maybelater
Comment:
As it turns out, this isn't really possible, as Trac Genshi templates
we're using are XHTML based.
> Modify request headers to use Content-type:
application/xhtml+xml;charset=utf-8. Chrome shows several errors on Trac
changesets in this case.
My historic knowledge says this will cause browsers to use a strict XML
parser, rather than a vague HTML parser.
Looking at our templates, I can remove
'xmlns="http://www.w3.org/1999/xhtml"' from them, but Genshi shoves them
back in. We don't define a XHTML Doctype either, it's either not-specified
or HTML5-style.
https://meta.trac.wordpress.org/browser/sites/trunk/trac.wordpress.org/templates
I'm reclosing as `maybelater`. This will happen when we migrate to a newer
version of Trac & newer templates.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/8159#comment:6>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list