mirror of
https://github.com/friendica/friendica
synced 2024-11-19 11:03:40 +00:00
Shortener deactivated, due to Diaspora problems
This commit is contained in:
parent
229fb0439e
commit
fbb38837b0
1 changed files with 4 additions and 3 deletions
|
@ -863,9 +863,10 @@ class BBCode
|
||||||
$scheme = $parts['scheme'] . '://';
|
$scheme = $parts['scheme'] . '://';
|
||||||
$styled_url = str_replace($scheme, '', $url);
|
$styled_url = str_replace($scheme, '', $url);
|
||||||
|
|
||||||
if (strlen($styled_url) > 30) {
|
// Currently deactivated, due to preview problems inside of Diaspora
|
||||||
$styled_url = substr($styled_url, 0, 30) . "…";
|
// if (strlen($styled_url) > 30) {
|
||||||
}
|
// $styled_url = substr($styled_url, 0, 30) . "…";
|
||||||
|
// }
|
||||||
|
|
||||||
$html = '<a href="%s" target="_blank">%s</a>';
|
$html = '<a href="%s" target="_blank">%s</a>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue