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:
parent
5781a9f056
commit
7f90eaf4c4
|
@ -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[] = " <img src='$smilies_directory/$img' alt='$smiley_masked' />";
|
$wp_smiliesreplace[] = "<img src='$smilies_directory/$img' alt='$smiley_masked' />";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue