From 1c9f6b4852e51b096ea87395dc1d02bc68a63ab9 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 4 Oct 2006 21:46:42 +0000 Subject: [PATCH] Better tabbing and newlining for RSS categories. Props coffee2code and Nazgul. fixes #1156 git-svn-id: http://svn.automattic.com/wordpress/trunk@4342 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/feed.php b/wp-includes/feed.php index 83fd965d9..b7073487b 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -134,9 +134,9 @@ function get_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"; } } return apply_filters('the_category_rss', $the_list, $type);