fix(route/udn): Optimize for `udn Global` (#16948)
This commit is contained in:
parent
0211583f2e
commit
1b51cedf8a
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue