When copying multiple "\r\n" from the remote session. only the first occurance of "\r\n" will be replaced with "\n". We did not find a practical test-case for this, but by putting breakpoints in JavaScript, we could see that the clipboard text is incorrectly replaced. This has been fixed upstream [1]. [1] https://github.com/novnc/noVNC/pull/1845
Tested the same case as in comment #0 after the noVNC vendor drop and can confirm that all occurrences of "\r\n" now get replaced with "\n".