I found a similar question here , but I am looking for more general solutions.
As it is now, when Django generates anykind HTML for you (this happens mainly when creating forms), it uses default self-closing tags, i.e. <br />instead of <br>. <br />XHTML is valid, and I think HTML5 is as well, but it is not valid HTML4.
Is there any clean way to override this? Or is it better to write django sites in XHTML or HTML5?
source
share