Readability.Sanitizer (readability2 v0.7.0)
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.
Link to this section Summary
Functions
Sanitizes article html tree
Link to this section Types
Link to this type
html_tree()
Link to this section Functions
Link to this function
sanitize(html_tree, candidates, opts \\ [])
Sanitizes article html tree