Explorar o código

Merge branch 'bug-substitute'

n1474335 %!s(int64=8) %!d(string=hai) anos
pai
achega
a5ed824674
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;