fixed end of line escaping