Skip to main content

parse

Function parse 

Source
pub fn parse(html: &str, scripting: bool) -> Document
Expand description

Parses a whole document. A leading byte order mark (U+FEFF) is dropped, as decoding the page would have.

ยงPanics

On input over crate::MAX_INPUT bytes; parse_with returns an error instead.