From f3210ec7db79b40dc7be8897e3476a250695ace9 Mon Sep 17 00:00:00 2001 From: Michael Poluektov Date: Tue, 12 Nov 2024 23:17:22 +0000 Subject: [PATCH] bring html back --- src/lib/components/chat/Messages/CitationsModal.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}