#5945: String constants in filters and variable tags should be marked safe
-----------------------------+----------------------------------------------
   Reporter:  SmileyChris    |                Owner:  nobody                
     Status:  new            |            Component:  Template system       
    Version:  SVN            |           Resolution:                        
   Keywords:  auto-escaping  |                Stage:  Design decision needed
  Has_patch:  1              |           Needs_docs:  0                     
Needs_tests:  1              |   Needs_better_patch:  0                     
-----------------------------+----------------------------------------------
Changes (by SmileyChris):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Design decision needed
  * needs_tests:  => 1
  * needs_docs:  => 0

Comment:

 One consideration is that this will mark i18n "constant" translated
 strings, too. The template author doesn't see these directly, so I'm not
 sure if that is acceptable.

 For example, `{{ caption|default:_("what if I am dangerous?") }}`.

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