summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 33245e1..4abe10e 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");
}