summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-06-18 14:55:41 +0400
committerAndrew Dolgov <[email protected]>2014-06-18 14:55:41 +0400
commit4b19d4ac9154ab123a0d6f0efe78f23cce4ac4da (patch)
treecf9ef60d02c988f2c92a229e9500d613e9181555 /classes/handler
parent66c6f91c147e3e238a442190cafe8446bf7b19c3 (diff)
properly show cached images in syndicated feeds
Diffstat (limited to 'classes/handler')
-rw-r--r--classes/handler/public.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 30506fdad..e89318c6f 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 = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" .