Merge branch 'bug-substitute'

This commit is contained in:
n1474335 2017-08-25 11:50:07 +00:00
commit a5ed824674

View File

@ -766,8 +766,8 @@ const Cipher = {
* @returns {string} * @returns {string}
*/ */
runSubstitute: function (input, args) { runSubstitute: function (input, args) {
let plaintext = Utils.expandAlphRange(args[0]).join(), let plaintext = Utils.expandAlphRange(args[0]).join(""),
ciphertext = Utils.expandAlphRange(args[1]).join(), ciphertext = Utils.expandAlphRange(args[1]).join(""),
output = "", output = "",
index = -1; index = -1;