Skip to content

Commit

Permalink
fixes anuraghazra#3956 bug - update repo-card.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarbendale2004 authored Oct 1, 2024
1 parent 11fb327 commit cdf5441
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cards/repo-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ const renderRepoCard = (repo, options = {}) => {
.badge rect { opacity: 0.2 }
`);

// by wrapping card.render into <a> tag - Incorrect formatting of repo card description Fixes
return `
<a href="https://github.com/${nameWithOwner}" target="_blank" rel="noopener noreferrer">
<a href="https://github.com/${nameWithOwner}" target="_blank" rel="noopener noreferrer">
${card.render(`
${
isTemplate
Expand Down

0 comments on commit cdf5441

Please sign in to comment.