Skip to content

Commit

Permalink
add rel="nofollow noopener noreferrer" links on RelayTourIndo
Browse files Browse the repository at this point in the history
Leave the default as it is in the full description
  • Loading branch information
SergioGlorias authored Oct 12, 2024
1 parent e1e8640 commit 5e4f772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/analyse/src/study/relay/relayTourView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const showInfo = (i: RelayTourInfo, dates?: RelayTourDates) => {
value &&
h('div.relay-tour__info__' + key, [
icon && h('img', { attrs: { src: site.asset.flairSrc(icon) } }),
linkName ? h('a', { attrs: { href: value, target: '_blank' } }, linkName) : value,
linkName ? h('a', { attrs: { href: value, target: '_blank', rel: 'nofollow noopener noreferrer' } }, linkName) : value,
]),
)
.filter(defined);
Expand Down

0 comments on commit 5e4f772

Please sign in to comment.