properly show cached images in syndicated feeds

This commit is contained in:
Andrew Dolgov 2014-06-18 14:55:41 +04:00
parent 66c6f91c14
commit 4b19d4ac91
1 changed files with 2 additions and 1 deletions

View 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>" .