diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/aggregator.module | 1 | ||||
-rw-r--r-- | modules/aggregator/aggregator.module | 1 | ||||
-rw-r--r-- | modules/node.module | 1 | ||||
-rw-r--r-- | modules/node/node.module | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module index 2e4c4c607..8ac5ca705 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 2e4c4c607..8ac5ca705 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 476495634..32a4d98c7 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 476495634..32a4d98c7 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"; |