aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-28 20:11:50 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-28 20:11:50 -0700
commit6301de10321733a6578e59347b6b54fbd534de06 (patch)
treed928336a9a04c1a8f0acf8423cc622a2d6c17da8 /mod/item.php
parent051fb7107ef5c449d9d9627298b85abe882e8186 (diff)
downloadvolse-hubzilla-6301de10321733a6578e59347b6b54fbd534de06.tar.gz
volse-hubzilla-6301de10321733a6578e59347b6b54fbd534de06.tar.bz2
volse-hubzilla-6301de10321733a6578e59347b6b54fbd534de06.zip
catch a couple of edge cases with the tag linkifier
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
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]';
}
}