protect newlines