mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-24 03:58:33 -04:00
FeverAPI fix enclosures (#5214)
Fix regression: provide enclosures as part of HTML content body in FeverAPI #fix https://github.com/FreshRSS/FreshRSS/issues/5209
This commit is contained in:
1 parent
73b4fd74a4
commit
9b424a8fd8
2 files changed
+2
-1
No files matched your search
@@ -187,6 +187,7 @@ HTML;
|
||||
$thumbnails = $enclosure['thumbnails'] ?? [];
|
||||
$etitle = $enclosure['title'] ?? '';
|
||||
|
||||
$content .= "\n";
|
||||
$content .= '<figure class="enclosure">';
|
||||
|
||||
foreach ($thumbnails as $thumbnail) {
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@ final class FeverDAO extends Minz_ModelPdo
|
||||
|
||||
$sql = 'SELECT id, guid, title, author, '
|
||||
. ($entryDAO::isCompressed() ? 'UNCOMPRESS(content_bin) AS content' : 'content')
|
||||
. ', link, date, is_read, is_favorite, id_feed '
|
||||
. ', link, date, is_read, is_favorite, id_feed, attributes '
|
||||
. 'FROM `_entry` WHERE';
|
||||
|
||||
if (!empty($entry_ids)) {
|
||||
|
||||
Reference in new issue
Block a user