mirror of https://gitlab.com/bashrc2/epicyon
Remove tags if there is an image in the rss description
parent
82a89aa216
commit
e13cec3bbc
|
@ -133,8 +133,9 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
|
||||||
translate['Read more...'] + '</a>'
|
translate['Read more...'] + '</a>'
|
||||||
|
|
||||||
# remove image dimensions
|
# remove image dimensions
|
||||||
rssDescription = removeHtmlTag(rssDescription, 'width')
|
if '<img' in rssDescription:
|
||||||
rssDescription = removeHtmlTag(rssDescription, 'height')
|
rssDescription = removeHtmlTag(rssDescription, 'width')
|
||||||
|
rssDescription = removeHtmlTag(rssDescription, 'height')
|
||||||
|
|
||||||
followersOnly = False
|
followersOnly = False
|
||||||
useBlurhash = False
|
useBlurhash = False
|
||||||
|
|
Loading…
Reference in New Issue