mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:55:55 +00:00
generate_syndicated_feed: use local media in generated feeds if it is available
This commit is contained in:
@@ -111,6 +111,8 @@ class Handler_Public extends Handler {
|
|||||||
$content = sanitize($line["content"], false, $owner_uid,
|
$content = sanitize($line["content"], false, $owner_uid,
|
||||||
$feed_site_url, false, $line["id"]);
|
$feed_site_url, false, $line["id"]);
|
||||||
|
|
||||||
|
$content = DiskCache::rewriteUrls($content);
|
||||||
|
|
||||||
if ($line['note']) {
|
if ($line['note']) {
|
||||||
$content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
|
$content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .
|
||||||
$content;
|
$content;
|
||||||
|
|||||||
Reference in New Issue
Block a user