#30495: Use self-closing br in linebreaksbr templatetag.
-------------------------------------+-------------------------------------
     Reporter:  David Ogutu          |                    Owner:  David
         Type:                       |  Ogutu
  Cleanup/optimization               |                   Status:  closed
    Component:  Template system      |                  Version:  master
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * status:  assigned => closed
 * resolution:   => wontfix
 * version:  2.2 => master
 * ui_ux:  1 => 0
 * type:  New feature => Cleanup/optimization


Comment:

 Thanks for this request. I know that this change looks trivial but
 probably it is not the only one that is required in your use case. Please
 take a look at the [https://groups.google.com/d/topic/django-
 developers/G4Rz1_Bmh7w/discussion django-developers discussion] (self-
 closing tags are a part of it) and ticket #29681. IMO
 [https://docs.djangoproject.com/en/stable/ref/forms/renderers/#overriding-
 built-in-widget-templates custom widget templates] should solve your
 issue.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30495#comment:2>
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/064.0692b89c00439ad6b9e0021ac132e7ec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to