diff options
| -rw-r--r-- | app/Models/Entry.php | 1 | ||||
| -rw-r--r-- | p/api/fever.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php index 81ece1ce4..4a0f12c94 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -187,6 +187,7 @@ HTML; $thumbnails = $enclosure['thumbnails'] ?? []; $etitle = $enclosure['title'] ?? ''; + $content .= "\n"; $content .= '<figure class="enclosure">'; foreach ($thumbnails as $thumbnail) { diff --git a/p/api/fever.php b/p/api/fever.php index dfe9572cd..c83b28da3 100644 --- a/p/api/fever.php +++ b/p/api/fever.php @@ -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)) { |
