Browse Source

Added link target to the list of allowed attributes for any links used in map attribution

master
Dean 5 years ago
parent
commit
3d4c155fb7
  1. 2
      packages/client/src/components/app/embedded-map/EmbeddedMap.svelte

2
packages/client/src/components/app/embedded-map/EmbeddedMap.svelte

@ -240,7 +240,7 @@
const cleanAttribution = sanitizeHtml(mapAttribution, { const cleanAttribution = sanitizeHtml(mapAttribution, {
allowedTags: ["a"], allowedTags: ["a"],
allowedAttributes: { allowedAttributes: {
a: ["href"], a: ["href","target"],
}, },
}) })

Loading…
Cancel
Save