from typing import List


def ls_double_quote_if_contains_blank(ls_elements: List[str]) -> List[str]:
    """double quote all elements in a list of string which contain a blank

    >>> ls_double_quote_if_contains_blank([])
    []
    >>> ls_double_quote_if_contains_blank([''])
    ['']
    >>> ls_double_quote_if_contains_blank(['', 'double quote'])
    ['', '"double quote"']

    """
    if (not ls_elements) or (ls_elements is None):
        return []

    ls_newelements = []
    for s_element in ls_elements:
        if " " in s_element:
            s_element = '"' + s_element + '"'
        ls_newelements.append(s_element)
    return ls_newelements