chore: format
This commit is contained in:
1 parent
39777e35d8
commit
c951b4f262
69 files changed
+143
-29
No files matched your search
@@ -244,7 +244,10 @@
|
||||
<iframe
|
||||
bind:this={iframeElement}
|
||||
title="Content"
|
||||
srcdoc={injectCsp(contents[selectedContentIdx].content, $config?.ui?.iframe_csp ?? '')}
|
||||
srcdoc={injectCsp(
|
||||
contents[selectedContentIdx].content,
|
||||
$config?.ui?.iframe_csp ?? ''
|
||||
)}
|
||||
class="w-full border-0 h-full rounded-none"
|
||||
sandbox="allow-scripts allow-downloads{($settings?.iframeSandboxAllowForms ?? false)
|
||||
? ' allow-forms'
|
||||
|
||||
@@ -268,11 +268,7 @@
|
||||
|
||||
{#if extracted.detailsContent}
|
||||
<!-- Render structural blocks (tool calls, reasoning, etc.) through Markdown -->
|
||||
<Markdown
|
||||
{id}
|
||||
content={extracted.detailsContent}
|
||||
{done}
|
||||
/>
|
||||
<Markdown {id} content={extracted.detailsContent} {done} />
|
||||
{/if}
|
||||
{#if extracted.plainContent}
|
||||
<div class="whitespace-pre-wrap">{extracted.plainContent}</div>
|
||||
|
||||
@@ -384,7 +384,9 @@
|
||||
{topPadding}
|
||||
/>
|
||||
{:else}
|
||||
<div class="whitespace-pre-wrap" dir={$settings?.chatDirection ?? 'auto'}>{message.content}</div>
|
||||
<div class="whitespace-pre-wrap" dir={$settings?.chatDirection ?? 'auto'}>
|
||||
{message.content}
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user