Added spaces in smilies array. Non breaking space before image.

git-svn-id: https://develop.svn.wordpress.org/trunk@495 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-10-30 00:46:19 +00:00
parent 19b16e2222
commit 973c6bb3b0

View File

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