From a7050af4f7109788b867d442bddc28a62d4883fd Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 4 Oct 2006 21:46:54 +0000 Subject: [PATCH] Better tabbing and newlining for RSS categories. Props coffee2code and Nazgul. fixes #1156 git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4343 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/feed-functions.php b/wp-includes/feed-functions.php index 0b377bc301..6a4766986c 100644 --- a/wp-includes/feed-functions.php +++ b/wp-includes/feed-functions.php @@ -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$category->cat_name"; + $the_list .= "\n\t\t$category->cat_name\n"; } else { - $the_list .= "\n\t$category->cat_name"; + $the_list .= "\n\t\t$category->cat_name\n"; } } echo apply_filters('the_category_rss', $the_list, $type);