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:
parent
19b16e2222
commit
973c6bb3b0
@ -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[] = " <img src='$smilies_directory/$img' alt='$smiley_masked' />";
|
||||
}
|
||||
|
||||
add_filter('all', 'wptexturize');
|
||||
|
Loading…
Reference in New Issue
Block a user