diff --git a/app/containers/markdown/index.js b/app/containers/markdown/index.js index 4da99719..99fb3842 100644 --- a/app/containers/markdown/index.js +++ b/app/containers/markdown/index.js @@ -383,9 +383,9 @@ class Markdown extends PureComponent { m = m.replace(/^\[([\s]]*)\]\(([^)]*)\)\s/, '').trim(); if (preview) { - m = m.replace(/\n+/g, ' '); m = shortnameToUnicode(m); m = removeMarkdown(m); + m = m.replace(/\n+/g, ' '); return ( {m}