From 52b2f7596ddf1b6e7f4e51a985a1ec2d76810cf1 Mon Sep 17 00:00:00 2001 From: BillyBoy0823 Date: Thu, 16 May 2013 03:35:01 -0400 Subject: [PATCH] This adds a space before AND after each emote, so there's no conflict with any text or other emotes before or after them. --- e107_handlers/emote.php | 1 + 1 file changed, 1 insertion(+) diff --git a/e107_handlers/emote.php b/e107_handlers/emote.php index f09881030..d5f10516d 100644 --- a/e107_handlers/emote.php +++ b/e107_handlers/emote.php @@ -36,6 +36,7 @@ function r_emote() $value2 = substr($value, 0, strpos($value, " ")); $value = ($value2 ? $value2 : $value); $value = ($value == '&|') ? ':((' : $value; + $value = " ".$value." "; //TODO CSS class $str .= "\n "; }