mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
+1
-1
@@ -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('');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user