1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 11:08:09 +01:00

Fix :mkv bug

This commit is contained in:
Kris Maglione
2009-01-10 18:16:57 -05:00
parent 1e9a7f42c6
commit 047c7e5cf2

View File

@@ -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(" ");
},