badges: fix markdown title bug. cleanup about card.
Signed-off-by: Andreas Stenius <git@astekk.se>
This commit is contained in:
committed by
Fredrik Adelöw
parent
b99231c0bc
commit
1cf23e05cb
@@ -81,7 +81,7 @@ export class BadgesClientApi {
|
||||
}
|
||||
|
||||
private getBadgeMarkdownCode(badge: object): string {
|
||||
const title = badge.title && ` "${badge.title}"`;
|
||||
const title = badge.title ? ` "${badge.title}"` : '';
|
||||
const img = ``;
|
||||
if (!badge.target) {
|
||||
return img;
|
||||
|
||||
Reference in New Issue
Block a user