Hotfix: 修复 twitter 链接内容为空问题 (#941)
- 修复 #805 - 手头没有 twitter 的那些 key,暂时没去验证(逃
This commit is contained in:
parent
f3fc959048
commit
7ba151d423
|
|
@ -27,7 +27,7 @@ module.exports = async (ctx) => {
|
|||
});
|
||||
let url = '';
|
||||
item.entities.urls.forEach((u) => {
|
||||
url += `<a href="${u.expanded_url}" target="_blank"></a>`;
|
||||
url += `<a href="${u.expanded_url}" target="_blank">${u.expanded_url}</a>`;
|
||||
});
|
||||
return {
|
||||
title: `${item.in_reply_to_screen_name ? 'Re ' : ''}${item.full_text}`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue