#29038: Render HTML void elements without a closing slash
     Reporter:  Jon Dufresne          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Forms                 |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
Changes (by Nils Fredrik Gjerull):

 * status:  closed => new
 * resolution:  fixed =>


 This broke my site when I tried to update to Django 2.1. I serve my pages
 using XHTML serialization of HTML5 which is perfectly valid. That is I
 server my pages using application/xhtml+xml mimetype. It is unusual, I
 know, but I prefer the strict syntax checking I get with it. I know XHTML-
 Strict has gone out of fashion, but HTML5 is not a replacement for XHTML.
 HTML5 can be served as both [https://en.wikipedia.org/wiki/XHTML#XHTML5
 application/xhtml+xml and text/html] and both are equally valid.

 Browser support for xhtml is better than ever, so this is a better time
 than ever to server pages using xhtml serialization. When XHTML-Strict was
 viewed as the "way forward" it was effectively stopped by IE not
 supporting it. This is no longer the case since IE9.

 A web framework should have it's html written with
 [https://en.wikipedia.org/wiki/Polyglot_markup polygot markup].

 Please revert this changes. I will happily provide a pull-request to make
 all html in Django into polygot markup.

Ticket URL: <https://code.djangoproject.com/ticket/29038#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to