mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 08:42:05 +10:00
don't replace line breaks
This commit is contained in:
@ -44,6 +44,5 @@ export function markdownToHtml(
|
||||
return marked
|
||||
.options({ breaks: true })
|
||||
.parse(markdown)
|
||||
.toString()
|
||||
.replace(/\n/g, "");
|
||||
.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user