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
This commit is contained in:
ryan 2008-07-08 00:14:06 +00:00
parent cf566ef990
commit 792b5dfd36
1 changed files with 0 additions and 1 deletions

View File

@ -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[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attribute_escape( sprintf( __ngettext('%d topic','%d topics',$count), $count ) ) . "'$rel style='font-size: " .
( $smallest + ( ( $count - $min_count ) * $font_step ) )
. "$unit;'>$tag</a>";