fix escape sequences in setentryfield slash command
This commit is contained in:
parent
911428f545
commit
63938a0f7a
|
@ -360,6 +360,8 @@ function registerWorldInfoSlashCommands() {
|
|||
return '';
|
||||
}
|
||||
|
||||
value = value.replace(/\\([{}|])/g, '$1');
|
||||
|
||||
const data = await loadWorldInfoData(file);
|
||||
|
||||
if (!data || !('entries' in data)) {
|
||||
|
|
Loading…
Reference in New Issue