Fixes incorrect escaping of newline character