Added link target to the list of allowed attributes for any links used in map attribution
This commit is contained in:
parent
91376abfe3
commit
24de79a38b
|
@ -240,7 +240,7 @@
|
||||||
const cleanAttribution = sanitizeHtml(mapAttribution, {
|
const cleanAttribution = sanitizeHtml(mapAttribution, {
|
||||||
allowedTags: ["a"],
|
allowedTags: ["a"],
|
||||||
allowedAttributes: {
|
allowedAttributes: {
|
||||||
a: ["href"],
|
a: ["href","target"],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue