mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
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
|
self.lastRequest[url] = now
|
||||||
|
|
||||||
feed = self.cachedFeeds[url]
|
feed = self.cachedFeeds[url]
|
||||||
headlines = [d['title'].strip().replace('\n', ' ') \
|
headlines = [utils.htmlToText(d['title'].strip())
|
||||||
for d in feed['items']]
|
for d in feed['items']]
|
||||||
if not headlines:
|
if not headlines:
|
||||||
irc.error(msg, 'Error grabbing RSS feed')
|
irc.error(msg, 'Error grabbing RSS feed')
|
||||||
|
Loading…
Reference in New Issue
Block a user