def strip_lines(text):
    """
    Given text, try remove unnecesary spaces and
    put text in one unique line.
    """
    output = text.replace("\r\n", " ")
    output = output.replace("\r", " ")
    output = output.replace("\n", " ")

    return output.strip()