Fix message truncated if contains colon

This commit is contained in:
Luo Tim 2024-05-20 19:07:37 +08:00
parent 43b1110dfc
commit e22db79398

View File

@ -68,7 +68,7 @@ const MessageBody = observer((props: IProps) => {
width: chat.chatPanelWidth - 20,
}}
>
<pre className={classes.userContent}>{t(children)}</pre>
<pre className={classes.userContent}>{t(children, children)}</pre>
</Container>
);
});