don't replace line breaks
This commit is contained in:
parent
8300c5b731
commit
bbe4fe99f9
1 changed files with 1 additions and 2 deletions
|
|
@ -44,6 +44,5 @@ export function markdownToHtml(
|
||||||
return marked
|
return marked
|
||||||
.options({ breaks: true })
|
.options({ breaks: true })
|
||||||
.parse(markdown)
|
.parse(markdown)
|
||||||
.toString()
|
.toString();
|
||||||
.replace(/\n/g, "");
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue