Skip to main content

convert

Function convert 

Source
pub fn convert(
    html: &str,
    base_url: &str,
    content_type: ContentType,
) -> Converted
Expand description

convert_parsed for callers holding raw HTML.

Prefer the parsed form: the full pipeline used to parse the same document twice — once for the title and metadata, once here — which was roughly a third of its total cost.