Escape Beitragstitel

This commit is contained in:
Andreas Bielawski 2017-09-20 18:26:31 +02:00
parent 53432ec648
commit e22b9c11af

3
bot.py
View File

@ -4,6 +4,7 @@
# RSS Bot
# Python 3 required
import html
import logging
import re
from configparser import ConfigParser
@ -330,7 +331,7 @@ def check_rss(bot, job):
if not 'title' in v2:
title = 'Kein Titel'
else:
title = remove_tags(v2.title).lstrip()
title = html.escape(remove_tags(v2.title).lstrip())
if not 'link' in v2:
link = feed_data.feed.link
link_name = link