docs: def reconstitute(html):
      """Given a file-like object as ``html``, reconstruct it into models."""
      try:
          htree = etree.parse(html)
      except etree.XMLSyntaxError:
          html.seek(0)
          htree = etree.HTML(html.read())
  
      xhtml = etree.tostring(htree, encoding='utf-8')
      return adapt_single_html(xhtml)