From 3d4c155fb73c9b052659e9f2f427885b650250f6 Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 14 Mar 2022 09:25:41 +0000 Subject: [PATCH] Added link target to the list of allowed attributes for any links used in map attribution --- .../client/src/components/app/embedded-map/EmbeddedMap.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/app/embedded-map/EmbeddedMap.svelte b/packages/client/src/components/app/embedded-map/EmbeddedMap.svelte index be47b60035..9fafa3b62d 100644 --- a/packages/client/src/components/app/embedded-map/EmbeddedMap.svelte +++ b/packages/client/src/components/app/embedded-map/EmbeddedMap.svelte @@ -240,7 +240,7 @@ const cleanAttribution = sanitizeHtml(mapAttribution, { allowedTags: ["a"], allowedAttributes: { - a: ["href"], + a: ["href","target"], }, })