aboutsummaryrefslogtreecommitdiff
path: root/mammoth
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth')
-rw-r--r--mammoth/writers/markdown.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/writers/markdown.py b/mammoth/writers/markdown.py
index 6db4ea9..5e3cf00 100644
--- a/mammoth/writers/markdown.py
+++ b/mammoth/writers/markdown.py
@@ -35,7 +35,7 @@ def _hyperlink(attributes):
def _image(attributes):
- src = attributes.get("src")
+ src = attributes.get("src", "")
alt_text = attributes.get("alt", "")
return _WriterOutput("![{0}]({1})".format(alt_text, src), "")