def convert_old_description(old_description: str) -> str:
    """
    Format old course descriptions.

    Parameters
    ----------
    old_description:
        input course description

    Returns
    -------
    description:
        formatted description closer to the new parser
    """
    if old_description[:10] == "Cancelled.":
        old_description = old_description[10:]

    old_description = old_description.replace("&quot;", '"')

    return old_description