mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 12:41:51 +02:00
This adds a space before AND after each emote, so there's no conflict with any text or other emotes before or after them.
This commit is contained in:
parent
e9173717a7
commit
52b2f7596d
@ -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<a href=\"javascript:addtext('$value',true)\"><img src='$key' alt='' /></a> ";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user