diff --git a/src/lib/components/chat/Messages/CitationsModal.svelte b/src/lib/components/chat/Messages/CitationsModal.svelte index bb48a3f53..078c963db 100644 --- a/src/lib/components/chat/Messages/CitationsModal.svelte +++ b/src/lib/components/chat/Messages/CitationsModal.svelte @@ -149,7 +149,11 @@ {$i18n.t('Content')}
- {document.document} + {#if document.metadata?.html} + {@html document.document} + {:else} + {document.document} + {/if}