pub fn parse_bytes(source: &[u8], mode: Mode) -> Document
Invalid UTF-8 is replaced before parsing; offsets refer to the repaired text.