mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20: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";
|
$bbcode = "\n" . '[audio]' . $url . '[/audio]' . "\n";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$bbcode = "\n" . '[img]' . $url . '[/img]' . "\n";
|
$bbcode = "\n" . '[img=' . $url . '][/img]' . "\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -200,7 +200,7 @@
|
||||||
if (!isExtern) {
|
if (!isExtern) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var bbcode = '\n[img]' + data.url + '[/img]\n';
|
var bbcode = '\n[img=' + data.url + '][/img]\n';
|
||||||
addeditortext(bbcode);
|
addeditortext(bbcode);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue