def METHOD_NAME(text: str) -> str:
    # escaped = text.replace('\\', '\\\\')
    escaped = []
    lines = text.splitlines()
    for line in lines:
        before = line
        after = simple_escape_line(line)
        while before != after:
            before = after
            after = simple_escape_line(line)
        escaped.append(after)
    return "<br/>".join(escaped)