Skip to main content

to_text

Function to_text 

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

Convert an HTML document or fragment to plain text. Never fails; malformed input just produces less tidy output.