1
0
Fork 0
mirror of synced 2024-08-15 01:51:33 +12:00

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

View file

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