Fix for complex html parsing
Fixes #51 (when complete!)
OK, working from this branch to try to do real HTML parsing: https://github.com/tautologistics/node-htmlparser/pull/82
But getting: TypeError: undefined is not a constructor (evaluating 'new htmlparser.DefaultHandler') -- ok - https://github.com/tautologistics/node-htmlparser/issues/57
OK fixed that but can't figure out how to recover the original HTML before it's parsed. May have to try another lib.
Switching to https://www.npmjs.com/package/node-html-parser
Somehow node-html-parser is breaking Jasmine, although it works normally in the browser. Left a note here asking for help! https://github.com/ashi009/node-fast-html-parser/issues/4
Restarting the build to see if we get a different result... ?