mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
Improve adding of alt descriptions when linking images
This commit is contained in:
parent
86f238f379
commit
a87e0ad63c
2 changed files with 2 additions and 2 deletions
|
@ -2646,7 +2646,7 @@ class BBCode
|
|||
$bbcode = "\n" . '[audio]' . $url . '[/audio]' . "\n";
|
||||
break;
|
||||
default:
|
||||
$bbcode = "\n" . '[img]' . $url . '[/img]' . "\n";
|
||||
$bbcode = "\n" . '[img=' . $url . '][/img]' . "\n";
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@
|
|||
if (!isExtern) {
|
||||
return;
|
||||
}
|
||||
var bbcode = '\n[img]' + data.url + '[/img]\n';
|
||||
var bbcode = '\n[img=' + data.url + '][/img]\n';
|
||||
addeditortext(bbcode);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue