silence warning in sanitizeSignature

This commit is contained in:
zefie
2022-09-26 17:40:45 -04:00
parent ad3accb364
commit 8f3ba3d49e

View File

@@ -81,6 +81,7 @@ class WTVShared {
allowedSchemes: allowedSchemes,
allowedSchemesByTag: {},
allowedSchemesAppliedToAttributes: ['href', 'src', 'cite'],
allowVulnerableTags: true,
allowProtocolRelative: false
})
// todo: add missing user open tags (eg </i> if user did not close it) (might be done by sanitize-html?)