mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
allow quoted values in unnamed argument
This commit is contained in:
@ -619,6 +619,13 @@ export class SlashCommandParser {
|
||||
value = '';
|
||||
}
|
||||
listValues.push(this.parseClosure());
|
||||
} else if (this.testQuotedValue()) {
|
||||
isList = true;
|
||||
if (value.length > 0) {
|
||||
listValues.push(value.trim());
|
||||
value = '';
|
||||
}
|
||||
listValues.push(this.parseQuotedValue());
|
||||
} else {
|
||||
value += this.take();
|
||||
}
|
||||
|
Reference in New Issue
Block a user