class_docstr: Auxiliary class to decouple display handling logic from other functionality.
class_docstr_tok: ["Auxiliary","class","to","decouple","display","handling","logic","from","other","functionality","."]
docstr: Handle textual item.
docstr_tok: ["Handle","textual","item","."]
code: def handle_string(
      cls, item: str, index: int, **kwargs
  ) -> t.Dict[str, str]:
      """Handle textual item."""
      return {"type": "html", "payload": item}
  
imports: import base64
  import typing
  import pandas
  from pandas.io.formats.style import Styler
  from plotly.basedatatypes import BaseFigure
  from typing_extensions import TypedDict
  from deepchecks.core import check_result
  from deepchecks.core import checks
  from deepchecks.core.serialization.abc import ABCDisplayItemsHandler, JsonSerializer
  from deepchecks.core.serialization.common import aggregate_conditions, normalize_value
label_desc: Use image node_id 1 for calling the DisplayItemsHandler obj's underlying member method code with example usage: obj.handle_string(cls, item, index) and returns: dict