aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paper2remarkable/providers/html.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/paper2remarkable/providers/html.py b/paper2remarkable/providers/html.py
index 9f8394c..d71f210 100644
--- a/paper2remarkable/providers/html.py
+++ b/paper2remarkable/providers/html.py
@@ -67,6 +67,7 @@ class ImgProcessor(markdown.treeprocessors.Treeprocessor):
img.attrib["src"] = urllib.parse.urljoin(
self._base_url, img.attrib["src"]
)
+ img.attrib["src"] = img.attrib['src'].rstrip('/')
class HTMLInformer(Informer):