]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/feed-functions.php
Wordpress 2.0.11
[autoinstalls/wordpress.git] / wp-includes / feed-functions.php
index 0b377bc3017f2e30333a64f7802e8bae74186abb..6a4766986c82fbbbec4b6d0292b084c8edacdfd0 100644 (file)
@@ -134,9 +134,9 @@ function the_category_rss($type = 'rss') {
     foreach ($categories as $category) {
         $category->cat_name = convert_chars($category->cat_name);
         if ('rdf' == $type) {
-            $the_list .= "\n\t<dc:subject>$category->cat_name</dc:subject>";
+            $the_list .= "\n\t\t<dc:subject>$category->cat_name</dc:subject>\n";
         } else {
-            $the_list .= "\n\t<category>$category->cat_name</category>";
+            $the_list .= "\n\t\t<category>$category->cat_name</category>\n";
         }
     }
     echo apply_filters('the_category_rss', $the_list, $type);