From 972e706d9ca2b2fe1f058423968101dd64f0b4b8 Mon Sep 17 00:00:00 2001 From: jakedt Date: Tue, 4 Mar 2014 16:45:02 -0500 Subject: [PATCH] Update the Markdown generator for badges to have alt text. --- static/js/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/controllers.js b/static/js/controllers.js index fec13dac7..ec3d43ae3 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -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 + '"]';