From 91729ee0e00d52bf1ad77b8a44c3de2e633bab64 Mon Sep 17 00:00:00 2001 From: Fatpandac <1779196284@qq.com> Date: Sun, 13 Feb 2022 21:56:47 +0800 Subject: [PATCH] fix(route): wechat/tgchannel content text format error (#9088) --- lib/routes/tencent/wechat/tgchannel.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/routes/tencent/wechat/tgchannel.js b/lib/routes/tencent/wechat/tgchannel.js index 6130b8e72..b59a14e09 100644 --- a/lib/routes/tencent/wechat/tgchannel.js +++ b/lib/routes/tencent/wechat/tgchannel.js @@ -87,6 +87,9 @@ module.exports = async (ctx) => { } } + // 修复文字格式错误 + single.description = single.description.replace(//g, '

'); + return single; }) .get()