2014-03-11 02:34:17 -04:00
|
|
|
/* global Tautologistics */
|
|
|
|
/* exported parseHTML */
|
2013-10-25 15:23:29 -04:00
|
|
|
function parseHTML(rawHtml) {
|
|
|
|
var builder = new Tautologistics.NodeHtmlParser.HtmlBuilder(),
|
|
|
|
parser = new Tautologistics.NodeHtmlParser.Parser(builder);
|
|
|
|
|
|
|
|
parser.parseComplete(rawHtml);
|
|
|
|
return builder.dom;
|
|
|
|
}
|