mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 06:30:40 +08:00
fix(parameter): tighter condition for fulltext mode (#11750)
This commit is contained in:
@@ -273,7 +273,7 @@ module.exports = async (ctx, next) => {
|
||||
});
|
||||
|
||||
item.author = author || (parsed_result ? parsed_result.author : '');
|
||||
item.description = parsed_result ? entities.decodeXML(parsed_result.content) : description;
|
||||
item.description = parsed_result && parsed_result.content.length > 40 ? entities.decodeXML(parsed_result.content) : description;
|
||||
});
|
||||
await Promise.all(tasks);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user