You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can insert your own custom filtering, but make sure you compose your filtering function with [safeTags] or [safeTagsCustom]
Really this should say:
You can insert your own custom filtering, but make sure you compose your filtering function with (safeTags . clearTags) or (safeTagsCustom . clearTagsCustom)
The problem is, without applying clearTags first, the input may not be sanitized:
From the documentation:
You can insert your own custom filtering, but make sure you compose your filtering function with [safeTags] or [safeTagsCustom]
Really this should say:
You can insert your own custom filtering, but make sure you compose your filtering function with (safeTags . clearTags) or (safeTagsCustom . clearTagsCustom)
The problem is, without applying
clearTags
first, the input may not be sanitized:This isn't an issue with
sanitizeXSS
because it composessafeTags
withclearTags
.I'm happy to make a pull request to fix this.
The text was updated successfully, but these errors were encountered: