Loofah

A free HTML sanitizer based on Nokogiri
Download

Loofah Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT
  • Price:
  • FREE
  • Publisher Name:
  • Loofah Team
  • Publisher web site:
  • http://loofah.rubyforge.org/loofah/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 52 KB

Loofah Tags


Loofah Description

A free HTML sanitizer based on Nokogiri Loofah is an HTML sanitizer. It will always fix broken markup, but can also sanitize unsafe tags in a few different ways, and transform the markup for storage or display.Loofah is built on top of Nokogiri and libxml2, so it’s fast. Loofah also uses html5lib’s whitelist, so it most likely won’t make your codes less secure. Here are some key features of "Loofah": · Strip unsafe tags, leaving behind only the inner text. · Prune unsafe tags and their subtrees, removing all traces that they ever existed. · Escape unsafe tags and their subtrees, leaving behind lots of < and > entities. · Whitewash the markup, removing all attributes and namespaced nodes. · Format the markup as plain text. · ActiveRecord extension. · 99 44/100 % Tenderlove-free! Requirements: · Ruby · Nokogiri What's New in This Release: · Scrubbed Documents properly render html, head and body tags when serialized.


Loofah Related Software