Testing #17040  It looks like we should force CRLF here. `str.replace(/(?<!\r)\n/gm, '\r\n')` works
Testing #17040
It looks like we should force CRLF here.
str.replace(/(?<!\r)\n/gm, '\r\n')works