From e13cec3bbccfd9313272f152bc39d0e087a6f9f1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 11 Oct 2020 11:05:06 +0100 Subject: [PATCH] Remove tags if there is an image in the rss description --- newsdaemon.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/newsdaemon.py b/newsdaemon.py index 9162a869..df393ab0 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -133,8 +133,9 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str, translate['Read more...'] + '' # remove image dimensions - rssDescription = removeHtmlTag(rssDescription, 'width') - rssDescription = removeHtmlTag(rssDescription, 'height') + if '