mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-27 03:20:02 -04:00
fix: add breaks option to markdown rendering, to get old linebreak behaviour (#6156)
This commit is contained in:
parent
72388e8bcf
commit
af264bd288
@ -39,7 +39,7 @@ export default defineNuxtComponent({
|
||||
}
|
||||
|
||||
const value = computed(() => {
|
||||
const rawHtml = marked.parse(props.source || "", { async: false });
|
||||
const rawHtml = marked.parse(props.source || "", { async: false, breaks: true });
|
||||
return sanitizeMarkdown(rawHtml);
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user