From: Michael Date: Sun, 11 Mar 2018 12:16:17 +0000 (+0000) Subject: Shortener deactivated, due to Diaspora problems X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fbb38837b04b4bea59548062bc13fffc78227cbc;p=friendica.git Shortener deactivated, due to Diaspora problems --- diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index dcf1f44817..744ddd46ba 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -863,9 +863,10 @@ class BBCode $scheme = $parts['scheme'] . '://'; $styled_url = str_replace($scheme, '', $url); - if (strlen($styled_url) > 30) { - $styled_url = substr($styled_url, 0, 30) . "…"; - } +// Currently deactivated, due to preview problems inside of Diaspora +// if (strlen($styled_url) > 30) { +// $styled_url = substr($styled_url, 0, 30) . "…"; +// } $html = '%s';