mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 15:19:39 +03:00
Update comment
This commit is contained in:
parent
0f8ab99158
commit
f4278b61ea
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ var sanitizeHtmlParams = {
|
|||
return { tagName: tagName, attribs : attribs };
|
||||
},
|
||||
'*': function(tagName, attribs) {
|
||||
// Delete any style previously assigned
|
||||
// Delete any style previously assigned, style is an allowedTag for font and span
|
||||
// because attributes are stripped after transforming
|
||||
delete attribs.style;
|
||||
|
||||
// Sanitise and transform data-mx-color and data-mx-bg-color to their CSS
|
||||
|
|
Loading…
Reference in a new issue