Upgrade dependencies (#8362)

* Upgrade dependencies

* delint
This commit is contained in:
Michael Telatynski 2022-04-21 08:08:03 +01:00 committed by GitHub
parent f2ec465f87
commit 74cab0323f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 631 additions and 633 deletions

View file

@ -240,6 +240,7 @@ const transformTags: IExtendedSanitizeOptions["transformTags"] = { // custom to
}
return { tagName, attribs };
},
// eslint-disable-next-line @typescript-eslint/naming-convention
'*': function(tagName: string, attribs: sanitizeHtml.Attributes) {
// Delete any style previously assigned, style is an allowedTag for font, span & img,
// because attributes are stripped after transforming.