#5730: [patch] RadioSelect widget does not escape label text
----------------------------------------------------------------------+-----
Reporter: Densetsu no Ero-sennin <[EMAIL PROTECTED]> | Owner: nobody
Status: new |
Component: django.newforms
Version: SVN |
Keywords:
Stage: Unreviewed |
Has_patch: 1
----------------------------------------------------------------------+-----
RadioSelect widget does not escape label text correctly.
Example:
{{{
>>> from django.newforms import RadioSelect
>>> r = RadioSelect()
>>> print r.render('test', 'test', choices=(('test', '<em>must be
escaped</em>'),))
<ul>
<li><label><input checked="checked" type="radio" name="test" value="test"
/> <em>must be escaped</em</label></li>
</ul>
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/5730>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---