sanitize_html 1.1.0 copy "sanitize_html: ^1.1.0" to clipboard
sanitize_html: ^1.1.0 copied to clipboard

outdated

Function for sanitizing HTML to prevent XSS by restrict elements and attributes to a safe subset of allowed values.

v1.1.0 #

  • Add options allowElementId and allowClassName to allow specific element ids and class names.

v1.0.0 #

  • Initial release.
46
likes
0
points
502k
downloads

Publisher

verified publishergoogle.dev

Weekly Downloads

Function for sanitizing HTML to prevent XSS by restrict elements and attributes to a safe subset of allowed values.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta, universal_html

More

Packages that depend on sanitize_html