fix escape sequences in setentryfield slash command

This commit is contained in:
LenAnderson 2024-01-08 17:58:17 +00:00
parent 911428f545
commit 63938a0f7a
1 changed files with 2 additions and 0 deletions

View File

@ -360,6 +360,8 @@ function registerWorldInfoSlashCommands() {
return '';
}
value = value.replace(/\\([{}|])/g, '$1');
const data = await loadWorldInfoData(file);
if (!data || !('entries' in data)) {