mirror of
https://github.com/open-webui/open-webui
synced 2025-02-26 07:09:07 +00:00
fix
This commit is contained in:
parent
d8c39569be
commit
b414fde6ca
@ -533,7 +533,7 @@
|
|||||||
{#if inlineToken.type === 'image'}
|
{#if inlineToken.type === 'image'}
|
||||||
<Image src={inlineToken.href} alt={inlineToken.text} />
|
<Image src={inlineToken.href} alt={inlineToken.text} />
|
||||||
{:else}
|
{:else}
|
||||||
{@html marked.parseInline(inlineToken.raw, {
|
{@html marked.parse(inlineToken.raw, {
|
||||||
...defaults,
|
...defaults,
|
||||||
gfm: true,
|
gfm: true,
|
||||||
breaks: true,
|
breaks: true,
|
||||||
@ -542,7 +542,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
{:else}
|
{:else}
|
||||||
{@html marked.parseInline(token.raw, {
|
{@html marked.parse(token.raw, {
|
||||||
...defaults,
|
...defaults,
|
||||||
gfm: true,
|
gfm: true,
|
||||||
breaks: true,
|
breaks: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user