From f3c1482e87ec020735a8e7a3aae51084b317ac11 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 11 Oct 2020 11:25:19 +0100 Subject: [PATCH] Image width --- content.py | 2 +- newsdaemon.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/content.py b/content.py index b7c110e4..ebbbcc76 100644 --- a/content.py +++ b/content.py @@ -32,7 +32,7 @@ def removeHtmlTag(htmlStr: str, tag: str) -> str: def setHtmlTag(htmlStr: str, tag: str, value: str) -> str: - """Removes a given tag from a html string + """Sets the value of a given tag from a html string """ matchStr = ' ' + tag + '="' if matchStr not in htmlStr: diff --git a/newsdaemon.py b/newsdaemon.py index 9e4ae8ba..025582b0 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -135,7 +135,8 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str, # remove image dimensions if '