]> git.wh0rd.org - tt-rss.git/commitdiff
properly show cached images in syndicated feeds
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 18 Jun 2014 10:55:41 +0000 (14:55 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 18 Jun 2014 10:55:41 +0000 (14:55 +0400)
classes/handler/public.php

index 30506fdadf2c11658cd08f36ce02b6f9d9a36570..e89318c6f8dd236676d83f2f18cabc3d8ebda38e 100644 (file)
@@ -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 = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .