diff options
author | Mario <mario@mariovavti.com> | 2021-02-25 15:43:01 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-25 15:43:01 +0000 |
commit | 8295ccdda75e2eefba0d377aaab7301f1c0760a2 (patch) | |
tree | d110b9ed0495653a613c4792c3dd176038c068b5 | |
parent | 373612a0465c924f5365d0e8d3a505da04b7a99f (diff) | |
download | volse-hubzilla-8295ccdda75e2eefba0d377aaab7301f1c0760a2.tar.gz volse-hubzilla-8295ccdda75e2eefba0d377aaab7301f1c0760a2.tar.bz2 volse-hubzilla-8295ccdda75e2eefba0d377aaab7301f1c0760a2.zip |
a possible fix for #1518
-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 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; } |