#36341: django.utils.text.wrap does not preserve newlines within text to be 
wrapped
-------------------------------------+-------------------------------------
     Reporter:  Matti Pohjanvirta    |                    Owner:  Matti
                                     |  Pohjanvirta
         Type:  Bug                  |                   Status:  closed
    Component:  Template system      |                  Version:  5.2
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by nessita <124304+nessita@…>):

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

Comment:

 In [changeset:"1e9db35836d42a3c72f3d1015c2f302eb6fee046" 1e9db35]:
 {{{#!CommitTicketReference repository=""
 revision="1e9db35836d42a3c72f3d1015c2f302eb6fee046"
 Fixed #36341 -- Preserved whitespaces in wordwrap template filter.

 Regression in 55d89e25f4115c5674cdd9b9bcba2bb2bb6d820b.

 This work improves the django.utils.text.wrap() function to ensure that
 empty lines and lines with whitespace only are kept instead of being
 dropped.

 Thanks Matti Pohjanvirta for the report and fix.

 Co-authored-by: Natalia <[email protected]>
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36341#comment:8>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070196641265fa-f9722794-f864-4be0-a119-c6ac2fe6d6c1-000000%40eu-central-1.amazonses.com.

Reply via email to