catch a couple of edge cases with the tag linkifier
This commit is contained in:
parent
051fb7107e
commit
6301de1032
2 changed files with 12 additions and 2 deletions
|
@ -147,10 +147,10 @@ function item_post(&$a) {
|
|||
}
|
||||
}
|
||||
if($profile) {
|
||||
$profile = str_replace(',','%2c',$profile);
|
||||
$body = str_replace($name,'[url=' . $profile . ']' . $name . '[/url]', $body);
|
||||
if(strlen($str_tags))
|
||||
$str_tags .= ',';
|
||||
$profile = str_replace(',','%2c',$profile);
|
||||
$str_tags .= '[url=' . $profile . ']' . $name . '[/url]';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue