From db7a7b1b3d1c4ef6c63c5149dc8ac9009a2fb9cc Mon Sep 17 00:00:00 2001 From: BretRen Date: Mon, 20 Jul 2026 00:58:37 -0700 Subject: [PATCH] Add 'target' attribute to allowed attributes in modal --- src/lib/components/modal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/modal.svelte b/src/lib/components/modal.svelte index 069766c2f..5dfe1e13e 100644 --- a/src/lib/components/modal.svelte +++ b/src/lib/components/modal.svelte @@ -54,7 +54,7 @@ }}> {@html DOMPurify.sanitize(error, { ALLOWED_TAGS: ['a'], - ALLOWED_ATTR: ['href'] + ALLOWED_ATTR: ['href', 'target'] }).replace(/