This commit is contained in:
Dragon Fire
2021-02-08 22:08:44 -05:00
parent 8216542714
commit ab0c519bbc
+1 -1
View File
@@ -190,7 +190,7 @@ module.exports = class Util {
return chars; return chars;
} }
changed.push(newText.charAt(i)); changed.push(newText.charAt(i));
return i === oldText.length - 1 ? `**${changed.join('')}**` : ''; return i === oldText.length - 1 ? `**${changed.join('')}${newText.slice(oldText.length)}**` : '';
}).join(''); }).join('');
} }