refac
This commit is contained in:
1 parent
9025e9dbb1
commit
4f47053e93
5 files changed
+12
-61
No files matched your search
@@ -18,6 +18,8 @@
|
||||
{@const html = DOMPurify.sanitize(token.text)}
|
||||
{#if html && html.includes('<video')}
|
||||
{@html html}
|
||||
{:else if token.text.includes(`<iframe src="${WEBUI_BASE_URL}/api/v1/files/`)}
|
||||
{@html `${token.text}`}
|
||||
{:else}
|
||||
{token.text}
|
||||
{/if}
|
||||
|
||||
Reference in new issue
Block a user