From 6301de10321733a6578e59347b6b54fbd534de06 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Thu, 28 Oct 2010 20:11:50 -0700 Subject: catch a couple of edge cases with the tag linkifier --- mod/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/item.php b/mod/item.php index 64a23e7fb..126f8b6a1 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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]'; } } -- cgit v1.2.3