class_docstr: Basic HTML building block.
class_docstr_tok: ["Basic","HTML","building","block","."]
code: def _make_iframe(
      self,
      src: str,
      ifid: Optional[str] = None,
      ifname: Optional[str] = None,
  ) -> str:
      srce = html.escape(src)
      ifid = ifid or uuid.uuid4().hex
      ifname = ifname or ifid
      template = self._get_template("_iframe.html")
      return template.render(ifid=ifid, ifname=ifname, srce=srce)
  
file_path: tslumen/tslumen/report/html/base.py
imports: from typing import Optional, Any
  import uuid
  import html
  from jinja2 import Template
  from tslumen import jinja_utils
  from tslumen.misc import lazyproperty
label_desc: Use image node_id 2 for calling the HtmlBlock obj's underlying member method code with example usage: obj._make_iframe(src, ifid, ifname) and returns: template