Fixed bug in Substitute where commas would not encode correctly
This commit is contained in:
1 parent
33b606d48f
commit
d6705c682f
1 file changed
+2
-2
@@ -766,8 +766,8 @@ const Cipher = {
|
||||
* @returns {string}
|
||||
*/
|
||||
runSubstitute: function (input, args) {
|
||||
let plaintext = Utils.expandAlphRange(args[0]).join(),
|
||||
ciphertext = Utils.expandAlphRange(args[1]).join(),
|
||||
let plaintext = Utils.expandAlphRange(args[0]).join(""),
|
||||
ciphertext = Utils.expandAlphRange(args[1]).join(""),
|
||||
output = "",
|
||||
index = -1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user