diff --git a/sdk/methods/conversation/Conversation.class.js b/sdk/methods/conversation/Conversation.class.js index 61235f160705cc91391c0f620fa311467fe97cee..74960273f7de1f47551a22b9829d698e2d5ed8d7 100644 --- a/sdk/methods/conversation/Conversation.class.js +++ b/sdk/methods/conversation/Conversation.class.js @@ -308,9 +308,9 @@ class Conversation { // console.error('last_visible_msg',_last_visible_msg) note = $utils.getMsgNote(_last_visible_msg) } - // 去掉\\n \\r \n \r 换行符 - note = note.replace(/\\n|\\r|\n|\r/g, ' ') - return note + // 替换\\n \\r \n \r   < > & 为 空格 + note = note.replace(/\\n|\\r|\n|\r| |<|>|&/g, ' ') + return note.trim() }, // 刷新会话的更新时间 update_time:{