#9111: form error get escaped on _html_output even if it is a SafeString 
instance
-------------------------------+--------------------------------------------
          Reporter:  michelts  |         Owner:  kratorius                      
       
            Status:  new       |     Milestone:                                 
       
         Component:  Forms     |       Version:  1.0                            
       
        Resolution:            |      Keywords:  form error escape safestring 
mark_safe
             Stage:  Accepted  |     Has_patch:  1                              
       
        Needs_docs:  0         |   Needs_tests:  0                              
       
Needs_better_patch:  0         |  
-------------------------------+--------------------------------------------
Changes (by adunar):

 * cc: adunar (added)

Comment:

 As I noted on http://groups.google.com/group/django-
 developers/browse_thread/thread/86fd952b0efc641e , mark_safe should also
 work on labels of form fields. I've updated the patch to also call
 conditional_escape on form labels, and added a regression test for that.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9111#comment:5>
Django <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 django-updates@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to