diff --git a/classes/feeds.php b/classes/feeds.php index b257ca35e..183edb401 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -494,6 +494,16 @@ class Feeds extends Handler_Protected { } else { + $line["tags"] = get_article_tags($this->link, $id, $_SESSION["uid"], $line["tag_cache"]); + unset($line["tag_cache"]); + + $line["content"] = sanitize($this->link, $line["content_preview"], + false, false, $feed_site_url); + + foreach ($pluginhost->get_hooks($pluginhost::HOOK_RENDER_ARTICLE_CDM) as $p) { + $line = $p->hook_render_article_cdm($line); + } + if (get_pref($this->link, 'VFEED_GROUP_BY_FEED') && $line["feed_title"]) { if ($feed_id != $vgroup_last_feed) { @@ -627,9 +637,6 @@ class Feeds extends Handler_Protected { $line["content_preview"] =& $line["cached_content"]; } - $article_content = sanitize($this->link, $line["content_preview"], - false, false, $feed_site_url); - $reply['content'] .= "