strip HTML from RSS entry titles

closes #174
This commit is contained in:
jesopo 2019-10-10 10:20:34 +01:00
parent 97c439a9d7
commit cf1002a2a9

View file

@ -18,7 +18,7 @@ class Module(ModuleManager.BaseModule):
self.bot.get_setting("rss-interval", RSS_INTERVAL))
def _format_entry(self, server, feed_title, entry, shorten):
title = entry["title"]
title = utils.http.strip_html(entry["title"])
author = entry.get("author", None)
author = " by %s" % author if author else ""