Fix new line escaping