fix: fix chunk and segment detail components (#14002)

This commit is contained in:
Wu Tianwei
2025-02-20 15:13:43 +08:00
committed by GitHub
parent bbfe83c86b
commit 9c42626772
7 changed files with 4 additions and 11 deletions

View File

@@ -265,7 +265,7 @@ export function Markdown(props: { content: string; className?: string }) {
}
},
]}
disallowedElements={['iframe', 'head', 'html', 'meta', 'link', 'style', 'body']}
disallowedElements={['iframe', 'head', 'html', 'meta', 'link', 'style', 'body', 'input']}
components={{
code: CodeBlock,
img: Img,