Replace space by underscore in emoji shortcodes
This commit is contained in:
parent
1da3d252e8
commit
59fd34a4b4
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ function useImagePackHandles(pack, sendPackContent) {
|
|||
|
||||
const getNewKey = (key) => {
|
||||
if (typeof key !== 'string') return undefined;
|
||||
let newKey = key?.replace(/\s/g, '-');
|
||||
let newKey = key?.replace(/\s/g, '_');
|
||||
if (pack.getImages().get(newKey)) {
|
||||
newKey = suffixRename(
|
||||
newKey,
|
||||
|
|
Loading…
Reference in a new issue