mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-05 02:41:34 +00:00
fix: render tilde-fenced code blocks as code blocks (#31543)
This commit is contained in:
parent
288bf91f73
commit
5338aeca89
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@
|
|||
/>
|
||||
</svelte:element>
|
||||
{:else if token.type === 'code'}
|
||||
{#if token.raw.includes('```')}
|
||||
{#if token.codeBlockStyle !== 'indented'}
|
||||
<CodeBlock
|
||||
id={`${id}-${tokenIdx}`}
|
||||
collapsed={$settings?.collapseCodeBlocks ?? false}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue