#24871: Textarea widget has redundant \r\n when writing XHTML
----------------------------------+--------------------------------------
Reporter: tompecina | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 1.8
Severity: Normal | Resolution:
Keywords: textarea, widget | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by tompecina):
If I had a time machine, I could easily find out if the XML-serialized
HTML (aka "XHTML5") has any future. But I don't have one and at the
moment, there are people - including me - using the XHTML format, and
these are made to create custom textarea widgets. The primary problem is
the inconsistent behavior of browsers (due to a failure of HTML/XML
authors to deal with the whitespace trouble more elegantly in the first
place). Therefore, it might be a good idea for Django to address this
issue, by way of a settings variable or a widget parameter (or both).
Well, if XHTML is dead, let's forget about it and close the ticket as
obsolete and antiquated.
--
Ticket URL: <https://code.djangoproject.com/ticket/24871#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 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/067.4e5c28dfa8d9c5b7b8d87589bc4ee560%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.