mirror of
https://github.com/docmost/docmost.git
synced 2026-05-18 07:24:04 +08:00
don't replace line breaks
This commit is contained in:
@@ -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, "");
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user