Skip to content

A free, self-hostable news aggregator…

Download icon 💾 for other MIME types

Alexandre Alapetitee9e6fc34833c
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 1bc6e48e8..f6059e9de 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -328,7 +328,7 @@ class FreshRSS_Feed extends Minz_Model {
} elseif (strpos($mime, 'video/') === 0) {
$content .= '<p class="enclosure"><video preload="none" src="' . $elink . '" controls="controls"></video> <a download="" href="' . $elink . '">💾</a></p>';
} else {
- unset($elinks[$elink]);
+ $content .= '<p class="enclosure"><a download="" href="' . $elink . '">💾</a></p>';
}
}
}