Discover Packages
github.com/matrix-org/matrix-static
sanitizer
package
Version:
v0.0.0-...-aa867a8
Opens a new window with list of versions in this module.
Published: May 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
InitSanitizer sets up and returns a bluemonday policy.
Sanitize will parse and clean up the HTML of the input string, then sanitize allowed tags.
TODO consider passing err back out of this instead of just ok
Source Files
¶
Click to show internal directories.
Click to hide internal directories.