diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-07-22 20:38:10 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-07-22 20:38:10 +0200 |
commit | dc56d8560d0786a50f5131d114e0fb17b5b85d9c (patch) | |
tree | 2a2f7294865176f8f3054ad01ebdd13b3bbd077a /include | |
parent | 81ecea29c839c8f914be59acbddd4955673ee2f6 (diff) | |
download | volse-hubzilla-dc56d8560d0786a50f5131d114e0fb17b5b85d9c.tar.gz volse-hubzilla-dc56d8560d0786a50f5131d114e0fb17b5b85d9c.tar.bz2 volse-hubzilla-dc56d8560d0786a50f5131d114e0fb17b5b85d9c.zip |
pleroma uses slightly different URLs in body - also look for the string
Diffstat (limited to 'include')
-rw-r--r-- | include/text.php | 2 |
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 .= ' '; |