Skip to content

Commit da7972c

Browse files
authored
🔀 Merge pull request #26 from ramsesgarate/patch-1
Links to cross-origin destinations are unsafe
2 parents f0db00f + 4e241f5 commit da7972c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Button.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
:href="fullLink"
77
class="gh-button"
88
target="_blank"
9+
rel="noopener"
910
>
1011
<component :is="iconComponentName" />
1112
<slot />
@@ -15,6 +16,7 @@
1516
:href="fullCountLink"
1617
:target="hasCountLink ? '_blank' : null"
1718
class="social-count"
19+
rel="noopener"
1820
>
1921
{{ count | formatNumber }}
2022
</a>

0 commit comments

Comments
 (0)