given a tag @foo, don't also link/replace words like food in msg body
This commit is contained in:
parent
ab62b8f712
commit
950e5f6693
|
@ -228,7 +228,7 @@ function item_post(&$a) {
|
|||
}
|
||||
}
|
||||
if($profile) {
|
||||
$body = str_replace($name,'[url=' . $profile . ']' . $newname . '[/url]', $body);
|
||||
$body = str_replace('@' . $name, '@' . '[url=' . $profile . ']' . $newname . '[/url]', $body);
|
||||
$profile = str_replace(',','%2c',$profile);
|
||||
if(strlen($str_tags))
|
||||
$str_tags .= ',';
|
||||
|
|
Loading…
Reference in New Issue
Block a user