def _sanitize_name(old_name: str) -> str:
    """Sanitized the names for printing and linking just in case

    Args:
        old_name (str): raw name

    Returns:
        str: sanitized string
    """
    old_name = old_name.split("[")[0]
    old_name = old_name.split("==")[0]
    return old_name