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
|
||||
.options({ breaks: true })
|
||||
.parse(markdown)
|
||||
.toString()
|
||||
.replace(/\n/g, "");
|
||||
.toString();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user