summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-14 19:04:27 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-14 19:04:27 +0000
commit7334f7624f9add967483b44f07c5d40a39fedf49 (patch)
tree3775500dbac1dc52b6fa018bc4fa013e739ddad6 /modules/node.module
parentc4fc7f401f80c26a3d96106a67ae7247edf8996f (diff)
downloadbrdo-7334f7624f9add967483b44f07c5d40a39fedf49.tar.gz
brdo-7334f7624f9add967483b44f07c5d40a39fedf49.tar.bz2
- Patch #41165 by Morbus: removed rss doctype.
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module1
1 files changed, 0 insertions, 1 deletions
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";