diff --git a/apps/ai-game-creator-shell/src/components/ChatMarkdownMessage/index.tsx b/apps/ai-game-creator-shell/src/components/ChatMarkdownMessage/index.tsx index 9920408ea..a08779ac3 100644 --- a/apps/ai-game-creator-shell/src/components/ChatMarkdownMessage/index.tsx +++ b/apps/ai-game-creator-shell/src/components/ChatMarkdownMessage/index.tsx @@ -45,8 +45,9 @@ class MarkdownErrorBoundary extends Component< } const markdownComponents: Components = { - a: ({ children }) => {children}, - img: ({ alt }) => {alt?.trim() ? `图片:${alt}` : '图片已省略'}, + // TODO: 产品确认安全外链策略后,再将链接文本恢复为可点击元素。 + a: ({ children }) => children, + img: ({ alt }) => (alt?.trim() ? `图片:${alt}` : '图片已省略'), h1: ({ children }) => (

{children}

),