import re


def _clean_multirc_inputs(dataset_name, text):
  """Removes HTML markup from Multi-RC task input text."""
  if dataset_name == "super_glue/multirc":
    # Remove HTML markup.
    text = re.sub(r"<br>", " ", text.decode("utf-8"))
    text = re.sub(r"<(/)?b>", " ", text)
  return text