Skip to content

Commit add763f

Browse files
committed
issue #8132 Markdown inclusion of images broken after 39db9f4
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).
1 parent 49bd996 commit add763f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/markdown.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,10 @@ void Markdown::writeMarkdownImage(const char *fmt, bool explicitTitle,
784784
m_out.addStr(title);
785785
m_out.addStr("\"");
786786
}
787+
else
788+
{
789+
m_out.addStr(" ");// so the line break will not be part of the image name
790+
}
787791
m_out.addStr("\\ilinebr");
788792
}
789793

0 commit comments

Comments
 (0)