code: function Parser(html, opts) {
          // fake root node
          html = util.trim(html);
          this.originalHTML = html;    // only allow condition
                                       // 1. start with <!doctype
                                       // 2. start with <!html
                                       // 3. start with <!body
                                       // 4. not start with <head
                                       // 5. not start with <meta
          // only allow condition
          // 1. start with <!doctype
          // 2. start with <!html
          // 3. start with <!body
          // 4. not start with <head
          // 5. not start with <meta
          if (/^(<!doctype|<html|<body)/i.test(html)) {
              html = '<document>' + html + '</document>';
          } else {
              html = '<body>' + html + '</body>';
          }
          this.lexer = new Lexer(html);
          this.opts = opts || {};
      }
docs: Html Parse Class
  @param html
  @param opts
  @class KISSY.HtmlParser.Parser
   
  Html Parse Class
  @param html
  @param opts
  @class KISSY.HtmlParser.Parser