mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
Update markdown.tsx
This commit is contained in:
parent
11e1720be0
commit
47bc23876d
|
@ -265,7 +265,7 @@ export function Markdown(props: { content: string; className?: string }) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
disallowedElements={['script', 'head', 'html', 'meta', 'link', 'style', 'body']}
|
disallowedElements={['script', 'iframe', 'head', 'html', 'meta', 'link', 'style', 'body']}
|
||||||
components={{
|
components={{
|
||||||
code: CodeBlock,
|
code: CodeBlock,
|
||||||
img: Img,
|
img: Img,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user