Extra removal

main
Bob Mottram 2020-11-08 10:54:29 +00:00
parent 2b15de6ee7
commit 2855af6025
1 changed files with 1 additions and 0 deletions

View File

@ -521,6 +521,7 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
if rssDescription.startswith('<![CDATA['):
rssDescription = rssDescription.replace('<![CDATA[', '')
rssDescription = rssDescription.replace(']]>', '')
rssDescription = rssDescription.replace(']]', '')
if '&' in rssDescription:
rssDescription = html.unescape(rssDescription)
rssDescription = '<p>' + rssDescription + '<p>'