Update the Markdown generator for badges to have alt text.
This commit is contained in:
parent
3f806b10c2
commit
972e706d9c
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ function RepoAdminCtrl($scope, Restangular, ApiService, KeyService, $routeParams
|
||||||
return imageUrl;
|
return imageUrl;
|
||||||
|
|
||||||
case 'md':
|
case 'md':
|
||||||
return '[](' + linkUrl + ')';
|
return '[](' + linkUrl + ')';
|
||||||
|
|
||||||
case 'asciidoc':
|
case 'asciidoc':
|
||||||
return 'image:' + imageUrl + '["Docker Repository on Quay.io", link="' + linkUrl + '"]';
|
return 'image:' + imageUrl + '["Docker Repository on Quay.io", link="' + linkUrl + '"]';
|
||||||
|
|
Reference in a new issue