#8850: syndication framework includes an extra newline using default templates
---------------------------+------------------------------------------------
 Reporter:  hopson         |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  RSS framework  |     Version:  SVN       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 The syndication framework default behavior is to load templates named
 {{{feeds/<slug>_title.html}}} and {{{feeds/<slug>_description.html}}}.

 The newline at the end of these files is include in the rendered output,
 which for HTML doesn't really matter but could for XML.  So rather than:
 {{{
 <title>Testo<title>
 }}}
 a person ends up with
 {{{
 <title>Testo
 </title>
 }}}

 It is easy to fix this behavior by subclassing Feed so I'm not sure if
 it's a huge deal - maybe worth documenting somehow?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8850>
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