import html
import re


def clean_text(text):
  """
  Removes HTML tags, unescapes HTML entities, and truncates text to 280 characters.

  Parameters
  ----------
  text : str
    HTML text
  """
  cleaned_text = html.unescape(re.sub(re.compile('<.*?>'), '', text))

  if len(cleaned_text) > 280:
    cleaned_text = f"{cleaned_text[:277]}..."
  
  return cleaned_text