Skip to main content

html_to_text

Function html_to_text 

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

HTML reduced to its text: tags removed (with the content of script and style), block ends as line breaks, the common entities decoded.