Changeset 648 for confluence

Show
Ignore:
Timestamp:
08/25/09 08:57:54 (11 months ago)
Author:
confluence
Message:

wonky quotes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • confluence/feedfilters/shfiction.py

    r581 r648  
    2828    feed_title = "%s %s" % (cgi.escape(title), attribution) 
    2929    feed_date = time.strftime("%a, %d %B %Y %H:%M:%S", time.strptime(date, "%d %B %Y")) 
     30    text = cgi.escape(blurb) 
     31    text = text.replace("\x92","'") 
    3032    print """  <item> 
    3133    <title>%s</title> 
     
    3436    <guid>%s</guid> 
    3537    <link>%s</link> 
    36   </item>""" % (feed_title, cgi.escape(blurb), feed_date, link, link) 
     38  </item>""" % (feed_title, text, feed_date, link, link) 
    3739 
    3840print """  </channel>