fix: disable the multiline regex

This commit is contained in:
MTG2000
2022-06-15 21:23:26 +03:00
parent fd84860601
commit 717cc4a9fe

View File

@@ -20,7 +20,7 @@ export default function SaveModule(props: Props) {
const { state } = ctx;
let md = getMarkdown(state);
md = md.replace(/\n(?=\n)/g, "\n\n<br/>\n");
// md = md.replace(/\n(?=\n)/g, "\n\n<br/>\n");
onChange(md);
}, [], 500)