pub fn parse_owned(input: String) -> Result<Document, HtmlError>Expand description
Parse an owned String with default settings, transferring the allocation.
§Example
let doc = fast_html_parser::parse_owned(String::from("<p>Quick</p>")).unwrap();
assert_eq!(doc.root().text_content(), "Quick");