From 63ee69a900d646af640fa12a469992fc08d7e7e7 Mon Sep 17 00:00:00 2001 From: Michael Poluektov Date: Wed, 13 Nov 2024 00:07:39 +0000 Subject: [PATCH] sandbox in iframe --- .../chat/Messages/CitationsModal.svelte | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/lib/components/chat/Messages/CitationsModal.svelte b/src/lib/components/chat/Messages/CitationsModal.svelte index 078c963db..61f274ffe 100644 --- a/src/lib/components/chat/Messages/CitationsModal.svelte +++ b/src/lib/components/chat/Messages/CitationsModal.svelte @@ -148,13 +148,18 @@
{$i18n.t('Content')}
-
-							{#if document.metadata?.html}
-								{@html document.document}
-							{:else}
-								{document.document}
-							{/if}
-						
+ {#if document.metadata?.html} + + {:else} +
+                {document.document}
+              
+ {/if} {#if documentIdx !== mergedDocuments.length - 1}