Fixed html entities in rss titles.

This commit is contained in:
Jeremy Fincher 2003-11-21 19:07:14 +00:00
parent 10fe799033
commit 0cc2c2f49f
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class RSS(callbacks.Privmsg):
self.lastRequest[url] = now
feed = self.cachedFeeds[url]
headlines = [d['title'].strip().replace('\n', ' ') \
headlines = [utils.htmlToText(d['title'].strip())
for d in feed['items']]
if not headlines:
irc.error(msg, 'Error grabbing RSS feed')