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 8b3a65d1af
commit 3d4c155fb7
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"],
},
})