Add 'target' attribute to allowed attributes in modal

This commit is contained in:
BretRen authored and GitHub committed 2026-07-20 00:58:37 -07:00
1 parent e778630b0f
commit db7a7b1b3d
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@
}}>
{@html DOMPurify.sanitize(error, {
ALLOWED_TAGS: ['a'],
ALLOWED_ATTR: ['href']
ALLOWED_ATTR: ['href', 'target']
}).replace(/<a /g, '<a rel="noopener noreferrer" ')}
</Alert.Inline>
</div>