]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler/public.php
properly show cached images in syndicated feeds
[tt-rss.git] / 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>" .