refac: html rendering

This commit is contained in:
Timothy Jaeryang Baek 2025-03-29 16:52:49 -07:00
parent feaa01dc77
commit c700126c17

View File

@ -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}