def get_newline_str(do_escape_n=True, do_br_tag=True):
    """
    Get the string to be used to indicate newlines in documents. Return a space if neither are specified.
    :param do_escape_n:
    :param do_br_tag:
    :return:
    """
    if do_escape_n is False and do_br_tag is False:
        return " "
    newline_str = ""
    if do_escape_n:
        newline_str += "\n"
    if do_br_tag:
        newline_str += "<br/>"
    return newline_str