mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
refactor: format
This commit is contained in:
@@ -44,19 +44,18 @@ module.exports = async (ctx) => {
|
||||
data.paragraphs.forEach((element) => {
|
||||
description += `<tr><td> ${element.content} </td><td> ${element.zh_content.content} </td></tr>`;
|
||||
});
|
||||
description +=
|
||||
'</table>\
|
||||
<style>\
|
||||
table, \
|
||||
table tr th, \
|
||||
table tr td {\
|
||||
border: 1px solid #000000; \
|
||||
padding: 10px; \
|
||||
} \
|
||||
table {\
|
||||
border-collapse: collapse; \
|
||||
} \
|
||||
</style>';
|
||||
description += `</table>
|
||||
<style>
|
||||
table,
|
||||
table tr th,
|
||||
table tr td {
|
||||
border: 1px solid #000000;
|
||||
padding: 10px;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
</style>`;
|
||||
author = data.user.nickname;
|
||||
break;
|
||||
case 'paper': // 论文
|
||||
|
||||
Reference in New Issue
Block a user