X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=0c4e12c9ad49e6e9fc44faf7fa68656f25682a67;hb=0cd9db9cb7f4c96f597e37590a536eaae123238d;hp=2a70f95e59ee4fe159d3119b25558d92c8350507;hpb=01dab95d601e14b9bd594fb0156eac2c68c37a63;p=friendica.git
diff --git a/include/bbcode.php b/include/bbcode.php
index 2a70f95e59..0c4e12c9ad 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -1,5 +1,7 @@
0.9)) {
- $title2 = $data["url"];
- }
- $text = sprintf('%s
',
- $data["url"], $data["title"], $title2);
- } elseif (($simplehtml != 4) AND ($simplehtml != 0)) {
+ $text = style_url_for_mastodon($data["url"]);
+ } elseif (($simplehtml != 4) && ($simplehtml != 0)) {
$text = sprintf('%s
', $data["url"], $data["title"]);
} else {
$text = sprintf('', $data["type"]);
@@ -80,13 +71,13 @@ function bb_attachment($Text, $simplehtml = false, $tryoembed = true) {
if (strstr(strtolower($oembed), "