removing extra nbsp before smilies

git-svn-id: http://svn.automattic.com/wordpress/trunk@715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
alex_t_king 2004-01-05 01:41:00 +00:00
parent 5781a9f056
commit 7f90eaf4c4
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ foreach($wpsmiliestrans as $smiley => $img) {
for ($i = 0; $i < strlen($smiley); $i = $i + 1) { for ($i = 0; $i < strlen($smiley); $i = $i + 1) {
$smiley_masked .= substr($smiley, $i, 1).chr(160); $smiley_masked .= substr($smiley, $i, 1).chr(160);
} }
$wp_smiliesreplace[] = "&nbsp;<img src='$smilies_directory/$img' alt='$smiley_masked' />"; $wp_smiliesreplace[] = "<img src='$smilies_directory/$img' alt='$smiley_masked' />";
} }