-
Name
-
sanitize
-
Version
-
7.0.0
-
Platform
-
ruby
-
Authors
-
Ryan Grove
-
Bindir
-
bin
-
Date
-
2024-12-30 00:00:00 UTC
-
Dependencies
-
crass (~> 1.0.2)
nokogiri (>= 1.16.8)
-
Description
-
Sanitize is an allowlist-based HTML and CSS sanitizer. It removes all HTML
and/or CSS from a string except the elements, attributes, and properties you
choose to allow.'
-
Email
-
ryan@wonko.com
-
Files
-
CHANGELOG.md
LICENSE
README.md
lib/sanitize.rb
lib/sanitize/config.rb
lib/sanitize/config/basic.rb
lib/sanitize/config/default.rb
lib/sanitize/config/relaxed.rb
lib/sanitize/config/restricted.rb
lib/sanitize/css.rb
lib/sanitize/transformers/clean_cdata.rb
lib/sanitize/transformers/clean_comment.rb
lib/sanitize/transformers/clean_css.rb
lib/sanitize/transformers/clean_doctype.rb
lib/sanitize/transformers/clean_element.rb
lib/sanitize/version.rb
test/common.rb
test/test_clean_comment.rb
test/test_clean_css.rb
test/test_clean_doctype.rb
test/test_clean_element.rb
test/test_config.rb
test/test_malicious_css.rb
test/test_malicious_html.rb
test/test_parser.rb
test/test_sanitize.rb
test/test_sanitize_css.rb
test/test_transformers.rb
-
Homepage
-
https://github.com/rgrove/sanitize/
-
Licenses
-
MIT
-
Metadata
-
{"changelog_uri"=>"https://github.com/rgrove/sanitize/blob/main/CHANGELOG.md", "documentation_uri"=>"https://rubydoc.info/github/rgrove/sanitize", "rubygems_mfa_required"=>"true"}
-
Require paths
-
lib
-
Required ruby version
-
>= 3.1.0
-
Required rubygems version
-
>= 0
-
Rubygems version
-
3.6.2
-
Specification version
-
4
-
Summary
-
Allowlist-based HTML and CSS sanitizer.
-
Original platform
-
ruby
-
New platform
-
ruby