From 4b19d4ac9154ab123a0d6f0efe78f23cce4ac4da Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 18 Jun 2014 14:55:41 +0400 Subject: [PATCH] properly show cached images in syndicated feeds --- classes/handler/public.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'] . "
" . -- 2.39.5