]> git.mxchange.org Git - friendica.git/commitdiff
Shortener deactivated, due to Diaspora problems
authorMichael <heluecht@pirati.ca>
Sun, 11 Mar 2018 12:16:17 +0000 (12:16 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 11 Mar 2018 12:16:17 +0000 (12:16 +0000)
src/Content/Text/BBCode.php

index dcf1f44817147fcd8fecdc2c6512058a102b4fde..744ddd46ba461abad138d93fceb8675381b83bac 100644 (file)
@@ -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 = '<a href="%s" target="_blank">%s</a>';