From e22db79398e465061b6b854b6d6a054e65b4272b Mon Sep 17 00:00:00 2001 From: Luo Tim Date: Mon, 20 May 2024 19:07:37 +0800 Subject: [PATCH] Fix message truncated if contains colon --- src/views/components/MessageBody/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/components/MessageBody/index.tsx b/src/views/components/MessageBody/index.tsx index 113318e..f6b0f24 100644 --- a/src/views/components/MessageBody/index.tsx +++ b/src/views/components/MessageBody/index.tsx @@ -68,7 +68,7 @@ const MessageBody = observer((props: IProps) => { width: chat.chatPanelWidth - 20, }} > -
{t(children)}
+
{t(children, children)}
); });