diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx index 2b0f6c4d..8f09f18a 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx +++ b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx @@ -2,6 +2,7 @@ import { memo, useRef, useEffect } from "react"; import { Warning } from "@phosphor-icons/react"; import renderMarkdown from "@/utils/chat/markdown"; +import DOMPurify from "@/utils/chat/purify"; import Citations from "../Citation"; import { THOUGHT_REGEX_CLOSE, @@ -96,7 +97,9 @@ function RenderAssistantChatContent({ message, messageId }) { )} );