code: def fix_html(x):
      "Various messy things we've seen in documents"
      x = (
          x.replace("#39;", "'")
          .replace("amp;", "&")
          .replace("#146;", "'")
          .replace("nbsp;", " ")
          .replace("#36;", "$")
          .replace("\\n", "\n")
          .replace("quot;", "'")
          .replace("<br />", "\n")
          .replace('\\"', '"')
          .replace("<unk>", UNK)
          .replace(" @.@ ", ".")
          .replace(" @-@ ", "-")
          .replace("...", " …")
      )
      return html.unescape(x)
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  import html
label_desc: Use image node_id 5 for calling a global function with example usage: fix_html(x) and returns: html