Merge pull request #14148 from annando/summary

Use the field for the summary instead of the "abstract" element
This commit is contained in:
Hypolite Petovan 2024-05-11 18:14:32 -04:00 committed by GitHub
commit d788cb82cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View file

@ -674,7 +674,7 @@ class Feed
}
} else {
if (!empty($summary)) {
$item['body'] = '[abstract]' . HTML::toBBCode($summary, $basepath) . "[/abstract]\n" . $item['body'];
$item['content-warning'] = HTML::toBBCode($summary, $basepath);
}
if ($fetch_further_information == LocalRelationship::FFI_KEYWORD) {