mirror of https://github.com/Mikaela/Limnoria.git
Fixed html entities in rss titles.
This commit is contained in:
parent
10fe799033
commit
0cc2c2f49f
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue