silence warning in sanitizeSignature
This commit is contained in:
@@ -81,6 +81,7 @@ class WTVShared {
|
|||||||
allowedSchemes: allowedSchemes,
|
allowedSchemes: allowedSchemes,
|
||||||
allowedSchemesByTag: {},
|
allowedSchemesByTag: {},
|
||||||
allowedSchemesAppliedToAttributes: ['href', 'src', 'cite'],
|
allowedSchemesAppliedToAttributes: ['href', 'src', 'cite'],
|
||||||
|
allowVulnerableTags: true,
|
||||||
allowProtocolRelative: false
|
allowProtocolRelative: false
|
||||||
})
|
})
|
||||||
// todo: add missing user open tags (eg </i> if user did not close it) (might be done by sanitize-html?)
|
// todo: add missing user open tags (eg </i> if user did not close it) (might be done by sanitize-html?)
|
||||||
|
|||||||
Reference in New Issue
Block a user