diff --git a/src/backend/html_markdown.py b/src/backend/html_markdown.py index 44a3c21f..0817434c 100644 --- a/src/backend/html_markdown.py +++ b/src/backend/html_markdown.py @@ -395,7 +395,7 @@ class HTMLProcessor: if el.tag != "img": return el - src = el.attrib.get("src") + src = el.attrib.get("src", "") width = el.attrib.get("width") height = el.attrib.get("height") is_emote = "data-mx-emote" in el.attrib