mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
style: auto format
This commit is contained in:
@@ -131,8 +131,7 @@ function extractPubDate($: cheerio.CheerioAPI): string {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function getDescription($: cheerio.CheerioAPI) : string | null {
|
||||
function getDescription($: cheerio.CheerioAPI): string | null {
|
||||
const content = $('#articleContent');
|
||||
if (content.length) {
|
||||
return content.first().html()?.trim();
|
||||
|
||||
Reference in New Issue
Block a user