diff --git a/b2-include/b2vars.php b/b2-include/b2vars.php
index 868a8c40b..d69332953 100644
--- a/b2-include/b2vars.php
+++ b/b2-include/b2vars.php
@@ -205,34 +205,34 @@ $is_IIS = strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Microsoft-IIS') ? 1 : 0;
# if the config file does not provide the smilies array, let's define it here
if (!isset($b2smiliestrans)) {
$b2smiliestrans = array(
- ':)' => 'icon_smile.gif',
- ':D' => 'icon_biggrin.gif',
- ':-D' => 'icon_biggrin.gif',
+ ' :)' => 'icon_smile.gif',
+ ' :D' => 'icon_biggrin.gif',
+ ' :-D' => 'icon_biggrin.gif',
':grin:' => 'icon_biggrin.gif',
- ':)' => 'icon_smile.gif',
- ':-)' => 'icon_smile.gif',
+ ' :)' => 'icon_smile.gif',
+ ' :-)' => 'icon_smile.gif',
':smile:' => 'icon_smile.gif',
- ':(' => 'icon_sad.gif',
- ':-(' => 'icon_sad.gif',
+ ' :(' => 'icon_sad.gif',
+ ' :-(' => 'icon_sad.gif',
':sad:' => 'icon_sad.gif',
- ':o' => 'icon_surprised.gif',
- ':-o' => 'icon_surprised.gif',
+ ' :o' => 'icon_surprised.gif',
+ ' :-o' => 'icon_surprised.gif',
':eek:' => 'icon_surprised.gif',
- '8O' => 'icon_eek.gif',
- '8-O' => 'icon_eek.gif',
+ ' 8O' => 'icon_eek.gif',
+ ' 8-O' => 'icon_eek.gif',
':shock:' => 'icon_eek.gif',
- ':?' => 'icon_confused.gif',
- ':-?' => 'icon_confused.gif',
- ':???:' => 'icon_confused.gif',
- '8)' => 'icon_cool.gif',
- '8-)' => 'icon_cool.gif',
+ ' :?' => 'icon_confused.gif',
+ ' :-?' => 'icon_confused.gif',
+ ' :???:' => 'icon_confused.gif',
+ ' 8)' => 'icon_cool.gif',
+ ' 8-)' => 'icon_cool.gif',
':cool:' => 'icon_cool.gif',
':lol:' => 'icon_lol.gif',
- ':x' => 'icon_mad.gif',
- ':-x' => 'icon_mad.gif',
+ ' :x' => 'icon_mad.gif',
+ ' :-x' => 'icon_mad.gif',
':mad:' => 'icon_mad.gif',
- ':P' => 'icon_razz.gif',
- ':-P' => 'icon_razz.gif',
+ ' :P' => 'icon_razz.gif',
+ ' :-P' => 'icon_razz.gif',
':razz:' => 'icon_razz.gif',
':oops:' => 'icon_redface.gif',
':cry:' => 'icon_cry.gif',
@@ -240,14 +240,14 @@ if (!isset($b2smiliestrans)) {
':twisted:' => 'icon_twisted.gif',
':roll:' => 'icon_rolleyes.gif',
':wink:' => 'icon_wink.gif',
- ';)' => 'icon_wink.gif',
- ';-)' => 'icon_wink.gif',
+ ' ;)' => 'icon_wink.gif',
+ ' ;-)' => 'icon_wink.gif',
':!:' => 'icon_exclaim.gif',
':?:' => 'icon_question.gif',
':idea:' => 'icon_idea.gif',
':arrow:' => 'icon_arrow.gif',
- ':|' => 'icon_neutral.gif',
- ':-|' => 'icon_neutral.gif',
+ ' :|' => 'icon_neutral.gif',
+ ' :-|' => 'icon_neutral.gif',
':neutral:' => 'icon_neutral.gif',
':mrgreen:' => 'icon_mrgreen.gif',
);
@@ -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[] = "
";
+ $b2_smiliesreplace[] = "
";
}
add_filter('all', 'wptexturize');