Skip to main content

parse_html

Function parse_html 

Source
pub fn parse_html<'a>(
    input: &str,
    options: &Parse,
    file: &mut File,
    alloc: &'a Allocator,
) -> Node<'a>
Expand description

Parse HTML into hast as parse5 and hast-util-from-html do, recording parse errors on file when emit_parse_errors is set.