def _clean_join(content):
    """
    Joins a list of values together and cleans (removes newlines)
    :param content: A str or list of str to process
    :return: The joined/cleaned str
    """
    if not isinstance(content, str):
        content = ''.join(content) if content else ''
    return content.replace('\n', '')