Ersetze < und > selbst, da html.escape() Probleme macht
This commit is contained in:
parent
6361b7f374
commit
7a6ca84b92
3
bot.py
3
bot.py
@ -259,7 +259,8 @@ 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('<', '<').replace('>', '>')
|
||||
if 'link' not in entry:
|
||||
post_link = entry.link
|
||||
link_name = post_link
|
||||
|
Reference in New Issue
Block a user