def direct_format_text(text):
    return text.replace('\n','\\n').replace('\r','\\r')
Transform special chars in text to have only one line.
dataset/ETHPy150Open sixohsix/twitter/twitter/archiver.py/direct_format_text