ruby-sanitize - whitelist-based HTML sanitizer

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe i386
Package name ruby-sanitize
Package version 2.1.0
Package release 2
Package architecture all
Package type deb
Installed size 55 B
Download size 13.18 KB
Official Mirror
Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable
elements and attributes, Sanitize will remove all unacceptable HTML from a
Using a simple configuration syntax, you can tell Sanitize to allow certain
elements, certain attributes within those elements, and even certain URL
protocols within attributes that contain URLs. Any HTML elements or attributes
that you don't explicitly allow will be removed.
Because it's based on Nokogiri, a full-fledged HTML parser, rather than a bunch
of fragile regular expressions, Sanitize has no trouble dealing with malformed
or maliciously-formed HTML and returning safe output.


Package Version Architecture Repository
ruby-sanitize_2.1.0-2_all.deb 2.1.0 all Ubuntu Universe
ruby-sanitize - - -


Name Value
ruby -
ruby-interpreter -
ruby-nokogiri -


Type URL
Binary Package ruby-sanitize_2.1.0-2_all.deb
Source Package ruby-sanitize

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ruby-sanitize deb package:
    # sudo apt-get install ruby-sanitize




2016-02-25 - Balasankar C <>
ruby-sanitize (2.1.0-2) unstable; urgency=medium
* Team upload.
* Add fix-tests-sanitize.patch
- Make tests use Debian nokogiri syntax (Closes: #808450)
* Bump Standards Version (No changes).
* Fix Vcs-* links to use secure protocol.
* Bump debhelper compatibility.
2014-02-15 - Jonas Genannt <>
ruby-sanitize (2.1.0-1) unstable; urgency=low
* Initial release (Closes: #739114)

See Also

Package Description
ruby-sasl_0.0.3.3-2_all.deb SASL client library for Ruby
ruby-sass-rails_5.0.4-1_all.deb Sass adapter for the Rails asset pipeline
ruby-sass_3.4.21-1_all.deb powerful but elegant CSS compiler that makes CSS fun again
ruby-sawyer_0.6.0-2_all.deb HTTP/REST API client Ruby library
ruby-sdl_2.1.3-1build5_i386.deb Ruby/SDL interface for Ruby
ruby-sdoc_0.4.1-1_all.deb RDoc generator to build searchable HTML documentation for Ruby code
ruby-seed-fu_2.3.5-1_all.deb easily manage seed data in an Active Record application
ruby-select2-rails_3.5.9.3-2_all.deb integrate Select2 javascript library with Rails asset pipeline
ruby-selinux_2.4-3build2_i386.deb Ruby bindings to SELinux shared libraries
ruby-semanage_2.3-1build3_i386.deb Ruby bindings to for SELinux policy management
ruby-semantic-puppet_0.1.1-1_all.deb Useful tools for working with semantic versions with Puppet
ruby-semverse_1.2.1-2_all.deb Ruby library for representing SemVer versions and constraints
ruby-sentry-raven_0.15.3-1_all.deb client interface for the Sentry error logger
ruby-sequel-pg_1.6.14-1build2_i386.deb Faster SELECTs when using Sequel with pg
ruby-sequel_4.32.0-1_all.deb Simple, flexible, and powerful SQL database access toolkit for Ruby