mirror of
https://github.com/open-webui/open-webui
synced 2025-05-19 12:51:35 +00:00
refac: html rendering
This commit is contained in:
parent
feaa01dc77
commit
c700126c17
@ -31,7 +31,7 @@
|
|||||||
{:else if token.text.includes(`<source_id`)}
|
{:else if token.text.includes(`<source_id`)}
|
||||||
<Source {id} {token} onClick={onSourceClick} />
|
<Source {id} {token} onClick={onSourceClick} />
|
||||||
{:else}
|
{:else}
|
||||||
{token.text}
|
{@html html}
|
||||||
{/if}
|
{/if}
|
||||||
{:else if token.type === 'link'}
|
{:else if token.type === 'link'}
|
||||||
{#if token.tokens}
|
{#if token.tokens}
|
||||||
|
Loading…
Reference in New Issue
Block a user