From 00de3ca8338aedf91869c7e3f879d1d74293d366 Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Tue, 24 Feb 2026 22:15:42 +0530 Subject: [PATCH] fix: widen external link rel token set type --- ui/src/ui/external-link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/ui/external-link.ts b/ui/src/ui/external-link.ts index fc7ff5ef7..0922da638 100644 --- a/ui/src/ui/external-link.ts +++ b/ui/src/ui/external-link.ts @@ -4,7 +4,7 @@ export const EXTERNAL_LINK_TARGET = "_blank"; export function buildExternalLinkRel(currentRel?: string): string { const extraTokens: string[] = []; - const seen = new Set(REQUIRED_EXTERNAL_REL_TOKENS); + const seen = new Set(REQUIRED_EXTERNAL_REL_TOKENS); for (const rawToken of (currentRel ?? "").split(/\s+/)) { const token = rawToken.trim().toLowerCase();