Don't replace spaces with nbsp. This breaks wrapping. Props MtDewVirus. fixes #7259

git-svn-id: https://develop.svn.wordpress.org/trunk@8281 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-07-08 00:14:06 +00:00
parent 7d39052d9e
commit ef48901e65
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>";