aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 5a0e6ad3d..1cde6bb01 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1574,7 +1574,7 @@ function format_hashtags(&$item) {
continue;
if(empty($t['url']))
continue;
- if(strpos($item['body'], $t['url']))
+ if(strpos($item['body'], $t['url']) || strpos($item['body'], '#' . $t['term']))
continue;
if($s)
$s .= ' ';