def clean_title(title):
    """ Clean a talk title. """
    title = title.strip()
    if not title:
        return title

    # Remove whitespace
    title = title.strip()
    # Remove double spaces
    title = title.replace("  ", " ")
    # Remove quotes
    if title[0] == '"' and title[-1] == '"':
        title = title[1:-1]
    return title