parseHTML converts a string of HTML to a DOM document using the dart html library.
html
static dom.Document parseHTML(String data) { return htmlParser.parse(data); }