aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-05 02:24:37 -0700
committerzotlabs <mike@macgirvin.com>2018-05-05 02:24:37 -0700
commit894f5bc79a7fc91ee1f5a3502f3069a48abcb4f5 (patch)
tree55f014ff2183c88f8d51b3808840e5852dfa697f /include/text.php
parentb47b917eb0a8bcc8e07a8978bf9a18a2e199d96c (diff)
parent0895756658e3019b2badf876d4699e298234208c (diff)
downloadvolse-hubzilla-894f5bc79a7fc91ee1f5a3502f3069a48abcb4f5.tar.gz
volse-hubzilla-894f5bc79a7fc91ee1f5a3502f3069a48abcb4f5.tar.bz2
volse-hubzilla-894f5bc79a7fc91ee1f5a3502f3069a48abcb4f5.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index c7417a19b..5be44c3cb 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2559,6 +2559,8 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $i
$basetag = substr($tag,7);
$basetag = substr($basetag,0,-6);
}
+ else
+ $basetag = substr($tag,1);
//create text for link
@@ -2587,6 +2589,7 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $i
'url' => $url,
'contact' => $r[0]
];
+
}
//is it a person tag?
@@ -3334,4 +3337,4 @@ function unique_multidim_array($array, $key) {
$i++;
}
return $temp_array;
-} \ No newline at end of file
+}