From 7334f7624f9add967483b44f07c5d40a39fedf49 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 14 Dec 2005 19:04:27 +0000
Subject: [PATCH] - Patch #41165 by Morbus: removed rss doctype.

---
 modules/aggregator.module            | 1 -
 modules/aggregator/aggregator.module | 1 -
 modules/node.module                  | 1 -
 modules/node/node.module             | 1 -
 4 files changed, 4 deletions(-)

diff --git a/modules/aggregator.module b/modules/aggregator.module
index 2e4c4c60786a..8ac5ca70513b 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 2e4c4c60786a..8ac5ca70513b 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 47649563418c..32a4d98c7644 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 47649563418c..32a4d98c7644 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";
-- 
GitLab