fix(route/udn): Optimize for `udn Global` (#16948)

This commit is contained in:
Andvari 2024-09-27 23:55:02 +08:00 committed by GitHub
parent 0211583f2e
commit 1b51cedf8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -87,11 +87,11 @@ async function handler(ctx) {
if (data.publisher.name === '轉角國際 udn Global') {
// 轉角24小時
description += $('.story_body_content')
description = $('.story_body_content')
.html()
.split(/<!--\d+?-->/g)
.slice(1, -1)
.join(',');
.join('');
}
return {