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;
|
||||
|
||||
case 'md':
|
||||
return '[![Docker Repository on Quay.io](' + imageUrl + ')](' + linkUrl + ')';
|
||||
return '[![Docker Repository on Quay.io](' + imageUrl + ' "Docker Repository on Quay.io")](' + linkUrl + ')';
|
||||
|
||||
case 'asciidoc':
|
||||
return 'image:' + imageUrl + '["Docker Repository on Quay.io", link="' + linkUrl + '"]';
|
||||
|
|
Reference in a new issue