diff --git a/modules/node/views_plugin_row_node_rss.inc b/modules/node/views_plugin_row_node_rss.inc index f693574..974da9f 100644 --- a/modules/node/views_plugin_row_node_rss.inc +++ b/modules/node/views_plugin_row_node_rss.inc @@ -94,14 +94,15 @@ class views_plugin_row_node_rss extends views_plugin_row { // The node gets built and modules add to or modify $node->rss_elements // and $node->rss_namespaces. - node_build_content($node, 'rss'); + $build = node_view($node, 'rss'); + unset($build['#theme']); $this->view->style_plugin->namespaces = array_merge($this->view->style_plugin->namespaces, $node->rss_namespaces); if ($item_length != 'title' && !empty($node->content)) { // We render node contents and force links to be last. - $links = drupal_render($node->content['links']); - $item_text .= drupal_render($node->content) . $links; + $links = drupal_render($build['links']); + $item_text .= drupal_render($build) . $links; } $item = new stdClass;