Fixed an issue with newline escaping