diff --git a/blog/rsslib.php b/blog/rsslib.php index a851cbe25fe..770fb0673dd 100644 --- a/blog/rsslib.php +++ b/blog/rsslib.php @@ -218,7 +218,9 @@ function blog_rss_get_feed($context, $args) { $item->title = $blog_entry->subject; $item->pubdate = $blog_entry->lastmodified; $item->link = $CFG->wwwroot.'/blog/index.php?entryid='.$blog_entry->id; - $item->description = format_text($blog_entry->summary, $blog_entry->format); + $summary = file_rewrite_pluginfile_urls($blog_entry->summary, 'pluginfile.php', + $sitecontext->id, 'blog', 'post', $blog_entry->id); + $item->description = format_text($summary, $blog_entry->format); if ( !empty($CFG->usetags) && ($blogtags = tag_get_tags_array('post', $blog_entry->id)) ) { if ($blogtags) { $item->tags = $blogtags;