How to Install ruby-loofah in Ubuntu 18.04



Install ruby-loofah by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-loofah

Description:

manipulation and transformation of HTML/XML documents and fragments

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments. It's built on top of Nokogiri and libxml2, so it's fast and has a nice API. . Loofah excels at HTML sanitization (XSS prevention). It includes some nice HTML sanitizers, which are based on HTML5lib's whitelist, so it most likely won't make your codes less secure. (These statements have not been evaluated by Netexperts.)

Homepage: https://github.com/flavorjones/loofah

Version: 2.2.2-1

Section: universe/ruby