def filer_elements(elements, element_filter):
    """Filter elements.

    Ex.: If filtered on elements [' '], ['a', ' ', 'c']
         becomes ['a', 'c']
    """
    return [element for element in elements if element not in element_filter]