diff options
author | Andrew Dolgov <[email protected]> | 2016-02-11 20:11:01 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-02-11 20:12:01 +0300 |
commit | 3261dbfa216335abb1d3b1c558d14a6cb74f9516 (patch) | |
tree | f9915f1796ce18a884ba269d2108cf5e8469a71c /classes/handler/public.php | |
parent | 724dea9a843a8dc76fd4185b3f491fd5568d950c (diff) |
generate_syndicated_feed: pass article id to sanitize()
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 632cece81..1cc568622 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -141,7 +141,7 @@ class Handler_Public extends Handler { $tpl->setVariable('ARTICLE_EXCERPT', $line["content_preview"], true); $content = sanitize($line["content"], false, $owner_uid, - $feed_site_url); + $feed_site_url, false, $line["id"]); if ($line['note']) { $content = "<div style=\"$note_style\">Article note: " . $line['note'] . "</div>" . @@ -224,7 +224,7 @@ class Handler_Public extends Handler { $article['link'] = $line['link']; $article['title'] = $line['title']; $article['excerpt'] = $line["content_preview"]; - $article['content'] = sanitize($line["content"], false, $owner_uid); + $article['content'] = sanitize($line["content"], false, $owner_uid, $feed_site_url, false, $line["id"]); $article['updated'] = date('c', strtotime($line["updated"])); if ($line['note']) $article['note'] = $line['note']; |