mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-23 16:24:21 +01:00
fix: disable the multiline regex
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user