#30495: Use self-closing br in linebreaksbr templatetag
-------------------------------------------+------------------------
Reporter: David Ogutu | Owner: nobody
Type: New feature | Status: new
Component: Template system | Version: 2.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
-------------------------------------------+------------------------
The HTML 5 spec says that it's OK to use self-closing tags for void
elements
https://dev.w3.org/html5/html-author/#void
I'd like to change linebreaksbr to use the self-closing version of `br`
i.e. `<br/>` so it can be used safely in more environments.
As an example, I wanted to use it in a template generating RML (see
https://www.reportlab.com/software/rml-reference/).
This will not break any existing users but will expand the templatetag's
reach
--
Ticket URL: <https://code.djangoproject.com/ticket/30495>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.9428e1b7ed1b374f629a209e976f8bf2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.