Skip to main content

parse_bytes

Function parse_bytes 

Source
pub fn parse_bytes(source: &[u8], mode: Mode) -> Document
Expand description

Invalid UTF-8 is replaced before parsing; offsets refer to the repaired text.