summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/markdown.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 207aa14..5240cd9 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -784,6 +784,10 @@ void Markdown::writeMarkdownImage(const char *fmt, bool explicitTitle,
m_out.addStr(title);
m_out.addStr("\"");
}
+ else
+ {
+ m_out.addStr(" ");// so the line break will not be part of the image name
+ }
m_out.addStr("\\ilinebr");
}