We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
\r
1 parent 8451970 commit bf4f6cfCopy full SHA for bf4f6cf
1 file changed
src/scripts/JoinLines.js
@@ -10,5 +10,5 @@
10
**/
11
12
function main(input) {
13
- input.text = input.text.replace(/\n/g, '');
+ input.text = input.text.replace(/\r?\n/g, '');
14
}
0 commit comments