Opened 12 years ago

Closed 12 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)

remove-ending-slashes.tar.gz (55.1 KB ) - added by Claude Paroz 12 years ago.
Remove ending slashes on void elements

Download all attachments as: .zip

Change History (2)

by Claude Paroz, 12 years ago

Remove ending slashes on void elements

comment:1 by Luke Plant, 12 years ago

Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top