pub fn parse_html(html: &str) -> NodeRefExpand description
Parse an HTML string into a NodeRef document tree.
The parser follows the HTML5 specification; an implicit <html>, <head>,
and <body> are synthesised when missing.
ยงExamples
use readable_rs::parser::parse_html;
let doc = parse_html("<div><p>hello</p></div>");
assert!(doc.select_first("p").is_ok());