mirror of
https://github.com/docmost/docmost
synced 2025-03-28 21:13:28 +00:00
don't replace line breaks
This commit is contained in:
parent
8300c5b731
commit
bbe4fe99f9
@ -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…
x
Reference in New Issue
Block a user