mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Add 'target' attribute to allowed attributes in modal
This commit is contained in:
1 parent
e778630b0f
commit
db7a7b1b3d
1 file changed
+1
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user