mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +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={{
|
||||
code: CodeBlock,
|
||||
img: Img,
|
||||
|
|
Loading…
Reference in New Issue
Block a user