← namespaces / @rubygems / gems / sanitize

@rubygems/sanitize

Allowlist-based HTML and CSS sanitizer.

details

latest
7.0.1
PURL
pkg:gem/gem.coop/rubygems/sanitize@7.0.1
licenses
MIT
ruby
>= 3.1.0
rubygems
>= 0
executables
none
native extensions
none
platforms
ruby

links

homepage
https://github.com/rgrove/sanitize/
documentation
https://rubydoc.info/github/rgrove/sanitize
changelog
https://github.com/rgrove/sanitize/blob/main/CHANGELOG.md

versions

  • 7.0.1 Oct 21 2026 gem.coop system
  • 7.0.0 Dec 30 2024 gem.coop system
  • 6.1.3 Aug 14 2024 gem.coop system
  • 6.1.2 Jul 27 2024 gem.coop system
  • 6.1.1 Jun 13 2024 gem.coop system
  • 6.1.0 Sep 14 2023 gem.coop system
  • 6.0.2 Jul 06 2023 gem.coop system
  • 6.0.1 Jan 27 2023 gem.coop system
  • 6.0.0 Aug 04 2021 gem.coop system
  • 5.2.3 Jan 11 2021 gem.coop system
  • 5.2.2 Jan 06 2021 gem.coop system
  • 5.2.1 Jun 16 2020 gem.coop system
  • 5.2.0 Jun 06 2020 gem.coop system
  • 5.1.0 Sep 08 2019 gem.coop system
  • 5.0.0 Oct 15 2018 gem.coop system
  • 2.1.1 Sep 30 2018 gem.coop system
  • 4.6.6 Jul 24 2018 gem.coop system
  • 4.6.5 May 17 2018 gem.coop system
  • 4.6.4 Mar 20 2018 gem.coop system
  • 4.6.3 Mar 20 2018 gem.coop system
See raw versions list →

usage

run on your commandline
bundle add sanitize --source "https://gem.coop/@rubygems"
or, put in your Gemfile
gem "sanitize", source: "https://gem.coop/@rubygems"