Skip to main content

clean_html

Function clean_html 

Source
fn clean_html(html: &str) -> String
Expand description

Only text, structure and links: no images, styles, scripts, forms or frames, no attribute but a link’s address, and only web and mail links. Layout tables become plain blocks, headings bold paragraphs, empty blocks go.