diff --git a/src/lib/components/chat/MarkdownRenderer.svelte b/src/lib/components/chat/MarkdownRenderer.svelte index 469d8fe859e..677b86a1b1f 100644 --- a/src/lib/components/chat/MarkdownRenderer.svelte +++ b/src/lib/components/chat/MarkdownRenderer.svelte @@ -101,20 +101,16 @@ }); -
- {#each marked.lexer(content) as token} - {#if token.type === "code"} - - {:else} - {#await marked.parse(token.raw) then parsed} - - {@html parsed} - {/await} - {/if} - {/each} -
+{#each marked.lexer(content) as token} + {#if token.type === "code"} + + {:else} + {#await marked.parse(token.raw) then parsed} + + {@html parsed} + {/await} + {/if} +{/each}