Merge Upstream

This commit is contained in:
Akamaru 2017-09-21 12:17:14 +02:00
commit 28d703f1fc

5
bot.py
View File

@ -259,9 +259,10 @@ def check_feed(bot, key):
if 'title' not in entry:
post_title = 'Kein Titel'
else:
post_title = html.escape(utils.remove_html_tags(entry['title']).strip())
post_title = utils.remove_html_tags(entry['title']).strip()
post_title = post_title.replace('<', '&lt;').replace('>', '&gt;')
if 'link' not in entry:
post_link = entry.link
post_link = data.link
link_name = post_link
else:
post_link = entry.link