This commit is contained in:
Timothy J. Baek committed 2024-08-16 17:51:50 +02:00
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}