mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix
This commit is contained in:
parent
d8c39569be
commit
b414fde6ca
1 changed files with 2 additions and 2 deletions
|
|
@ -533,7 +533,7 @@
|
|||
{#if inlineToken.type === 'image'}
|
||||
<Image src={inlineToken.href} alt={inlineToken.text} />
|
||||
{:else}
|
||||
{@html marked.parseInline(inlineToken.raw, {
|
||||
{@html marked.parse(inlineToken.raw, {
|
||||
...defaults,
|
||||
gfm: true,
|
||||
breaks: true,
|
||||
|
|
@ -542,7 +542,7 @@
|
|||
{/if}
|
||||
{/each}
|
||||
{:else}
|
||||
{@html marked.parseInline(token.raw, {
|
||||
{@html marked.parse(token.raw, {
|
||||
...defaults,
|
||||
gfm: true,
|
||||
breaks: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue