#8566: mark_safe not propagating from widgets to templates
-------------------------------------+--------------------------------------
          Reporter:  agirman         |         Owner:  nobody                   
                        
            Status:  closed          |     Milestone:  1.0                      
                        
         Component:  Core framework  |       Version:  SVN                      
                        
        Resolution:  fixed           |      Keywords:  mark_safe, safe string, 
escape, escaping, widgets
             Stage:  Unreviewed      |     Has_patch:  0                        
                        
        Needs_docs:  0               |   Needs_tests:  0                        
                        
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Changes (by kmtracey):

  * status:  reopened => closed
  * resolution:  => fixed
  * milestone:  1.2 => 1.0

Comment:

 Replying to [comment:4 Denis_Cheremisov]:
 > It only propagates unicode safe strings (SafeUnicode), not simple
 strings (SafeString)

 What is "It"?  The committed changeset for this ticket didn't do anything
 with Safe[Anything], it simply added a call to conditional_escape.
 conditional_escape, from a quick check, checks for !SafeData, the base for
 both !SafeUnicdoe and !SafeString.  So it isn't at all clear to me what
 you are trying to report.  As the fix for this bug was checked in nearly a
 year ago, without any immediate reaction that it was broken, it would be
 best at this point to open a new ticket describing in detail whatever
 problem you are encountering.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8566#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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to