code: def parse_html(html):
      
      paragraphs = re.split("</?p[^>]*>", html)
  
      # Convert <br>s to line breaks and remove empty paragraphs
      paragraphs = [re.split("<br */?>", p) for p in paragraphs if p]
  
      # Convert each line in each paragraph to plain text:
      return [[get_text(l) for l in p] for p in paragraphs]
docs: Attempt to convert html to plain text while keeping line breaks.
      Returns a list of paragraphs, each being a list of lines.