mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-25 19:23:40 +00:00
committed by
GitHub
parent
f2ec465f87
commit
74cab0323f
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user