Skip to main content

clean

Function clean 

Source
pub fn clean(
    text: Option<&str>,
    html: Option<&str>,
    config: &ReaderConfig,
) -> ReaderOutput
Expand description

Run the full reader pipeline on a message body.

Accepts either plain text or HTML. If HTML, converts to plain text first.