diff --git a/client/ui/chat/ChatFragment.tsx b/client/ui/chat/ChatFragment.tsx index 726526c..ed357c6 100644 --- a/client/ui/chat/ChatFragment.tsx +++ b/client/ui/chat/ChatFragment.tsx @@ -89,7 +89,7 @@ const markedInstance = new marked.Marked({ case "ChatMention": return `PH` } - return `(不支持的附件语法: ![${text}](${href}))` + return `${ escapeHTML(`[无效数据 (<${text}>=${href})]`) }` }, } })