def convert_new_lines(text):
    return text.replace('\r\n', '\n').replace('\r', '\n')
Renders a flat page to HTML.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/convert_new_lines--crossover with--dataset/ETHPy150Open fhirschmann/Flask-FlatPages-Knitr/flask_flatpages_knitr/__init__.py/FlatPagesKnitr.renderer