浏览代码

Merge branch 'bug-substitute'

n1474335 8 年之前
父节点
当前提交
a5ed824674
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/core/operations/Cipher.js

+ 2 - 2
src/core/operations/Cipher.js

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