readability v0.6.0 Readability.Sanitizer

Clean an element of all tags of type “tag” if they look fishy. “Fishy” is an algorithm based on content length, classnames, link density, number of images & embeds, etc.

Summary

Types

html_tree :: tuple | list

Functions

sanitize(html_tree, candidates, opts \\ [])

Specs

Sanitizes article html tree