fix(route): wechat/tgchannel content text format error (#9088)

This commit is contained in:
Fatpandac
2022-02-13 21:56:47 +08:00
committed by GitHub
parent 0fd9f29832
commit 91729ee0e0
+3
View File
@@ -87,6 +87,9 @@ module.exports = async (ctx) => {
}
}
// 修复文字格式错误
single.description = single.description.replace(/<section(.*?)>/g, '<p $1/>');
return single;
})
.get()