mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 19:31:11 +02:00
Merge pull request #5760 from maunium/allow-details
Add details and summary to allowed HTML tags
This commit is contained in:
commit
a2d63f5fb7
@ -237,6 +237,7 @@ const sanitizeHtmlParams: IExtendedSanitizeOptions = {
|
||||
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol', 'sup', 'sub',
|
||||
'nl', 'li', 'b', 'i', 'u', 'strong', 'em', 'strike', 'code', 'hr', 'br', 'div',
|
||||
'table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'span', 'img',
|
||||
'details', 'summary',
|
||||
],
|
||||
allowedAttributes: {
|
||||
// custom ones first:
|
||||
|
Loading…
x
Reference in New Issue
Block a user