Install ruby-rails-deprecated-sanitizer by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rails-deprecated-sanitizer
Description:
HTML sanitizer API extracted from Action View
In Rails 4.2, HTML sanitization has been rewritten using a more secure library. This package includes the old behavior that shipped with Rails 4.2 and before, and is provided as a backwards compatibility layer.
Homepage: https://github.com/rails/rails-deprecated_sanitizer
Version: 1.0.3-2
Section: universe/ruby