Opened 13 years ago
Closed 13 years ago
#17500 closed Uncategorized (wontfix)
Remove ending slashes on HTML void elements
Reported by: | Claude Paroz | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Django 1.4 switched to HTML5. Ending slashes on void elements are now optional. See also http://www.w3.org/TR/html-markup/syntax.html#syntax-elements.
I suggest to remove them in HTML produced by Django.
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | remove-ending-slashes.tar.gz added |
---|
comment:1 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
We didn't switch to HTML5 - we switched to HTML5 doctypes for bundled templates, especially the admin, which is quite different. We still need our output to be XHTML compliant as much as possible, because people could be using our output in XHTML templates.
Sorry for the confusion.
Remove ending slashes on void elements