diff --git a/modules/aggregator.module b/modules/aggregator.module index 2e4c4c60786addb7619e0787d900bffac16eb998..8ac5ca70513b49657f86fe5b3d05aa12b1e9ca85 100644 --- a/modules/aggregator.module +++ b/modules/aggregator.module @@ -1080,7 +1080,6 @@ function aggregator_page_rss() { } $output .= "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; - $output .= "<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC \"-//W3C//ENTITIES Latin 1 for XHTML//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent\">]>\n"; $output .= "<rss version=\"2.0\">\n"; $output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), $base_url . '/' . url('aggregator' . $url), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en'); $output .= "</rss>\n"; diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 2e4c4c60786addb7619e0787d900bffac16eb998..8ac5ca70513b49657f86fe5b3d05aa12b1e9ca85 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -1080,7 +1080,6 @@ function aggregator_page_rss() { } $output .= "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; - $output .= "<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC \"-//W3C//ENTITIES Latin 1 for XHTML//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent\">]>\n"; $output .= "<rss version=\"2.0\">\n"; $output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), $base_url . '/' . url('aggregator' . $url), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en'); $output .= "</rss>\n"; diff --git a/modules/node.module b/modules/node.module index 47649563418ce2e0206df8846010e19774f2be2e..32a4d98c7644994d1ec15c9e0268bb8b9f4d4860 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1462,7 +1462,6 @@ function node_feed($nodes = 0, $channel = array()) { $channel = array_merge($channel_defaults, $channel); $output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; - $output .= "<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC \"-//W3C//ENTITIES Latin 1 for XHTML//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent\">]>\n"; $output .= "<rss version=\"". $channel["version"] . "\" xml:base=\"". $base_url ."\" ". implode(' ', $namespaces) .">\n"; $output .= format_rss_channel($channel['title'], $channel['link'], $channel['description'], $items, $channel['language']); $output .= "</rss>\n"; diff --git a/modules/node/node.module b/modules/node/node.module index 47649563418ce2e0206df8846010e19774f2be2e..32a4d98c7644994d1ec15c9e0268bb8b9f4d4860 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1462,7 +1462,6 @@ function node_feed($nodes = 0, $channel = array()) { $channel = array_merge($channel_defaults, $channel); $output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; - $output .= "<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC \"-//W3C//ENTITIES Latin 1 for XHTML//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent\">]>\n"; $output .= "<rss version=\"". $channel["version"] . "\" xml:base=\"". $base_url ."\" ". implode(' ', $namespaces) .">\n"; $output .= format_rss_channel($channel['title'], $channel['link'], $channel['description'], $items, $channel['language']); $output .= "</rss>\n";