code: public static Document parse(String html, String baseUri) {
          return Parser.parse(html, baseUri);
      }
docs: Parse HTML into a Document. The parser will make a sensible, balanced document tree out of any HTML.
  
  @param html    HTML to parse
  @param baseUri The URL where the HTML was retrieved from. Used to resolve relative URLs to absolute URLs, that occur
  before the HTML declares a {@code <base href>} tag.
  @return sane HTML