diff --git a/app/containers/markdown/index.js b/app/containers/markdown/index.js index 4da997194..99fb38424 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}