From: Andrew Dolgov Date: Wed, 18 Jun 2014 10:55:41 +0000 (+0400) Subject: properly show cached images in syndicated feeds X-Git-Tag: 1.13~13 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=4b19d4ac9154ab123a0d6f0efe78f23cce4ac4da properly show cached images in syndicated feeds --- diff --git a/classes/handler/public.php b/classes/handler/public.php index 30506fda..e89318c6 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -108,7 +108,8 @@ class Handler_Public extends Handler { $tpl->setVariable('ARTICLE_TITLE', htmlspecialchars($line['title']), true); $tpl->setVariable('ARTICLE_EXCERPT', $line["content_preview"], true); - $content = sanitize($line["content"], false, $owner_uid); + $content = sanitize($line["content"], false, $owner_uid, + $feed_site_url); if ($line['note']) { $content = "
Article note: " . $line['note'] . "
" .