From 5e4f77257a48e446a8bb3948402ce45d5ade96e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Gl=C3=B3rias?= <9739913+SergioGlorias@users.noreply.github.com> Date: Sun, 13 Oct 2024 00:41:07 +0100 Subject: [PATCH] add `rel="nofollow noopener noreferrer"` links on RelayTourIndo Leave the default as it is in the full description --- ui/analyse/src/study/relay/relayTourView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/analyse/src/study/relay/relayTourView.ts b/ui/analyse/src/study/relay/relayTourView.ts index 0d1d904fc032..dd95a4399859 100644 --- a/ui/analyse/src/study/relay/relayTourView.ts +++ b/ui/analyse/src/study/relay/relayTourView.ts @@ -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);