From 792b5dfd36212b3c57f3c78b70d44b859dbd01af Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 8 Jul 2008 00:14:06 +0000 Subject: [PATCH] Don't replace spaces with nbsp. This breaks wrapping. Props MtDewVirus. fixes #7259 git-svn-id: http://svn.automattic.com/wordpress/trunk@8281 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category-template.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 69fc14d631..6ff21789f8 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -415,7 +415,6 @@ function wp_generate_tag_cloud( $tags, $args = '' ) { foreach ( $counts as $tag => $count ) { $tag_id = $tag_ids[$tag]; $tag_link = clean_url($tag_links[$tag]); - $tag = str_replace(' ', ' ', wp_specialchars( $tag )); $a[] = "$tag";