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

This commit is contained in:
Dean 2022-03-14 09:25:41 +00:00
parent 91376abfe3
commit 24de79a38b
1 changed files with 1 additions and 1 deletions

View File

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