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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ module.exports = async (ctx) => {
}
}
// 修复文字格式错误
single.description = single.description.replace(/<section(.*?)>/g, '<p $1/>');
return single;
})
.get()