#24871: Textarea widget has redundant \r\n
----------------------------+------------------------------
     Reporter:  tompecina   |      Owner:  nobody
         Type:  Bug         |     Status:  new
    Component:  Forms       |    Version:  1.8
     Severity:  Normal      |   Keywords:  textarea, widget
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0           |      UI/UX:  0
----------------------------+------------------------------
 The Textarea widget contains leading \r\n, which is wrong in certain
 contexts (I experienced the problem with one of my Django projects
 outputting XML-serialized HTML5, which copied the newline to initial field
 value). These characters are unneeded and could and should safely be
 deleted. The patch (for Django 1.6, but there's no difference in later
 revisions) is attached.

--
Ticket URL: <https://code.djangoproject.com/ticket/24871>
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 
https://groups.google.com/d/msgid/django-updates/052.fb77decd8e73eb781ba7d3e688a4a01b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to