diff --git a/web/app/components/base/markdown.tsx b/web/app/components/base/markdown.tsx index 40de269a6f..58e54123dd 100644 --- a/web/app/components/base/markdown.tsx +++ b/web/app/components/base/markdown.tsx @@ -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,