#6041: help_text not escaped in _html_output
---------------------------+------------------------------------------------
   Reporter:  SmileyChris  |                Owner:  nobody         
     Status:  new          |            Component:  django.newforms
    Version:  SVN          |           Resolution:                 
   Keywords:               |                Stage:  Accepted       
  Has_patch:  0            |           Needs_docs:  0              
Needs_tests:  1            |   Needs_better_patch:  0              
---------------------------+------------------------------------------------
Comment (by mtredinnick):

 For consistency we should only autoescape when autoescaping is enabled and
 calling escape() does the escaping too early. Since we support not using
 auto-escaping in templates, those people don't need to mark strings as
 safe, so we'll be double-escaping. We have to live with the shackles of
 providing semi-backwards-compatibility if we can. So I want to think about
 if there's a nice solution (which will also be applied throughout
 newforms). If I can't think of anything credible by the weekend, I'll drop
 in the six line patch I wrote for this today, but I want to think about it
 a bit first to see if there's a better solution.

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

Reply via email to