don't replace line breaks

This commit is contained in:
Philipinho 2025-03-23 13:57:05 +00:00
parent 8300c5b731
commit bbe4fe99f9

View File

@ -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, "");
} }