aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-02-27 19:47:26 +0000
committerMax Kostikov <max@kostikov.co>2021-02-27 19:47:26 +0000
commit1d899d387e89b67245249204249052bf7b65f5c1 (patch)
tree86b8ed42e016bb9cbfcb5ececbc03585a941a23a /include/text.php
parent5440a65607f3c67cc6ecacbf2d54c5895e5bc212 (diff)
parentfbb1d6aa41d9eb7a27b4a8bc79747ac0797db0c7 (diff)
downloadvolse-hubzilla-1d899d387e89b67245249204249052bf7b65f5c1.tar.gz
volse-hubzilla-1d899d387e89b67245249204249052bf7b65f5c1.tar.bz2
volse-hubzilla-1d899d387e89b67245249204249052bf7b65f5c1.zip
Merge branch 'dev' into 'dev'
Dev sync See merge request kostikov/core!2
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index b7cc0ba20..ca3453b64 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2837,7 +2837,7 @@ function handle_tag(&$body, &$str_tags, $profile_uid, $tag, $in_network = true)
// replace tag by the link. Make sure to not replace something in the middle of a word
- $body = preg_replace('/(?<![a-zA-Z0-9=])'.preg_quote($tag,'/').'/', $newtag, $body);
+ $body = preg_replace('/(?<![a-zA-Z0-9=\/])'.preg_quote($tag,'/').'/', $newtag, $body);
$replaced = true;
}