mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
Merge pull request #14235 from annando/img-alt
Improve adding of alt descriptions when linking images
This commit is contained in:
commit
9dc4e611a9
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