readability v0.7.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
Functions
Sanitizes article html tree
Types
Functions
sanitize(html_tree, candidates, opts \\ [])
sanitize(html_tree, [Readability.Candidate.t], list) :: html_tree
Sanitizes article html tree