mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ module.exports = class Util {
|
||||
return chars;
|
||||
}
|
||||
changed.push(newText.charAt(i));
|
||||
return i === oldText.length - 1 ? `**${changed.join('')}**` : '';
|
||||
return i === oldText.length - 1 ? `**${changed.join('')}${newText.slice(oldText.length)}**` : '';
|
||||
}).join('');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user