Skip to main content

plain_text

Function plain_text 

Source
pub fn plain_text(html: &str) -> Cow<'_, str>
Expand description

The visible text of a rich-text string: tags removed, common entities decoded, whitespace collapsed to single spaces.