Skip to content

Commit

Permalink
add "nofollow" on channel card external link (channel.url) / spam
Browse files Browse the repository at this point in the history
  • Loading branch information
ug.rp committed May 17, 2024
1 parent 3d9a761 commit e437582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/r4-channel-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class R4ChannelCard extends LitElement {
if (this.channel.url && this.channel.url.startsWith('https://')) {
return html`
<r4-channel-url>
<a target="_blank" ref="norel noreferer" href=${this.channel.url}> ${this.channel.url} </a>
<a target="_blank" ref="norel noreferer nofollow" href=${this.channel.url}> ${this.channel.url} </a>
</r4-channel-url>
`
}
Expand Down

0 comments on commit e437582

Please sign in to comment.