Browse Source

refac: html rendering

Timothy Jaeryang Baek 3 months ago
parent
commit
c700126c17

+ 1 - 1
src/lib/components/chat/Messages/Markdown/MarkdownInlineTokens.svelte

@@ -31,7 +31,7 @@
 		{:else if token.text.includes(`<source_id`)}
 			<Source {id} {token} onClick={onSourceClick} />
 		{:else}
-			{token.text}
+			{@html html}
 		{/if}
 	{:else if token.type === 'link'}
 		{#if token.tokens}