lib/jsx.js
function parseHTML(html) {
  const dom = (0, _cheerio.load)(html),
        { children } = dom.root().toArray()[0];

  return { dom, children };
}
function parseHTML(html) {
  const dom = (0, _cheerio.load)(html),
        { children } = dom.root().toArray()[0];

  return { dom, children };
}
function parseHTML ( html ) { const dom = ( 0 , _cheerio . load ) ( html ) , { children } = dom . root ( ) . toArray ( ) [ 0 ] ; return { dom , children } ; }
Useful utilities for working with JSX.

@module jsx
 
Parses an HTML string.

@memberof module:jsx
@private
@method parseHTML
@param {string} html - an arbitrary HTML string
@return {Object} an object containing a CheerioDOM object and a CheerioCollection of the `pre.CodeMirror-line`
elements
Useful utilities for working with JSX .