- {@html marked(content, { breaks: true, gfm: true })} + + {#if !!content} + {@html marked(content, { breaks: true, gfm: true })} + {/if} diff --git a/src/components/TextEditor/index.svelte b/src/components/TextEditor/index.svelte index 22512455..6cb6007f 100644 --- a/src/components/TextEditor/index.svelte +++ b/src/components/TextEditor/index.svelte @@ -1,11 +1,11 @@