From: Michael Date: Sun, 2 May 2021 17:33:32 +0000 (+0000) Subject: Improved link detection X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=77e1ec6df2076183cf3643170a474278f368f968;p=friendica.git Improved link detection --- diff --git a/src/Content/PageInfo.php b/src/Content/PageInfo.php index 7226ff2a44..21f32cd3c3 100644 --- a/src/Content/PageInfo.php +++ b/src/Content/PageInfo.php @@ -253,10 +253,15 @@ class PageInfo // Fix for Mastodon where the mentions are in a different format $body = preg_replace("~\[url=($URLSearchString)]([#!@])(.*?)\[/url]~is", '$2[url=$1]$3[/url]', $body); - preg_match("~(?