How to Install ruby-rails-html-sanitizer in Ubuntu 18.04



Install ruby-rails-html-sanitizer by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-rails-html-sanitizer

Description:

HTML sanitization for Rails applications

This gem is responsible to sanitize HTML fragments in Rails applications. In Rails 4.2 and above this gem will be responsible for sanitizing HTML fragments in Rails applications, i.e. in the sanitize, sanitize_css, strip_tags and strip_links methods.

Homepage: https://github.com/rafaelfranca/rails-html-sanitizer

Version: 1.0.4-1

Section: universe/ruby