mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 09:27:58 +01:00
Fix :mkv bug
This commit is contained in:
@@ -358,7 +358,7 @@ function Commands() //{{{
|
||||
|
||||
let str = args.literalArg;
|
||||
if (str)
|
||||
res.push(/\n/.test(str) ? "<<EOF\n" + str + "EOF" : str);
|
||||
res.push(/\n/.test(str) ? "<<EOF\n" + str.replace(/\n$/, "") + "\nEOF" : str);
|
||||
return res.join(" ");
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user