#6533: Syndication Framework: Item titles and descriptions double-escaped
------------------------------------+---------------------------------------
          Reporter:  miracle2k      |         Owner:  jacob
            Status:  closed         |     Milestone:  1.0  
         Component:  RSS framework  |       Version:  SVN  
        Resolution:  wontfix        |      Keywords:       
             Stage:  Accepted       |     Has_patch:  1    
        Needs_docs:  0              |   Needs_tests:  0    
Needs_better_patch:  1              |  
------------------------------------+---------------------------------------
Changes (by jacob):

  * status:  assigned => closed
  * resolution:  => wontfix

Comment:

 OK, I spent a really long time looking into this. As the test in [8632]
 shows, Django *does* do the right thing when presented with characters to
 be escaped; the problem comes when you're writing a template.

 In those cases, I think you just need to use `safe`/`escape` explicitly --
 there's almost no way to make Django do the right thing both for RSS and
 Atom. Perhaps at some point in the future when the syndication framework
 is a bit more flexible... or when we drop RSS support... but for now this
 has to be wontfix -- anything we can possibly do can fail in different
 circumstances, and at least the current behavior is predictable, though
 dumb.

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