class_docstr: Given a block of HTML, group the content under the preceding
  heading tags which can then be used for creating an index
  for that section.
code: def stripped_html(self) -> str:
      return "\n".join(self._stripped_html)
  
imports: from __future__ import annotations
  import json
  import logging
  import os
  import re
  import subprocess
  from html.parser import HTMLParser
  from typing import TYPE_CHECKING
label_desc: Use image node_id 5 for calling the ContentParser obj's underlying member method code with example usage: obj.stripped_html() and returns: str