Fixed bug in Substitute where commas would not encode correctly

This commit is contained in:
n1474335 2017-08-25 11:44:31 +00:00
parent 33b606d48f
commit d6705c682f

View File

@ -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;