summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-10-26 15:38:57 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-10-26 15:38:57 (GMT)
commitadd763fc5caf6d2be2316ee8c8270fa56940136a (patch)
tree736ce659a2d45dfc8a800339962f9cb87c5242f1 /src/markdown.cpp
parent49bd996c0e05df763632c346038a2346174f7382 (diff)
downloadDoxygen-add763fc5caf6d2be2316ee8c8270fa56940136a.zip
Doxygen-add763fc5caf6d2be2316ee8c8270fa56940136a.tar.gz
Doxygen-add763fc5caf6d2be2316ee8c8270fa56940136a.tar.bz2
issue #8132 Markdown inclusion of images broken after 39db9f48
see to it that the `\ilinebr` cannot be seen as part of the file name (backslashes can be present as path especially in case of windows).
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 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");
}