mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 12:47:35 +01:00
Merge pull request #2276 from LenAnderson/stop-parser-from-bitching-about-space-after-quote
stop parser from complaining about space after closing quote of quoted argument
This commit is contained in:
commit
8c11d7e8e8
@ -109,7 +109,7 @@ export class SlashCommandParser {
|
||||
return this.text[this.index];
|
||||
}
|
||||
get endOfText() {
|
||||
return this.index >= this.text.length || /^\s+$/.test(this.ahead);
|
||||
return this.index >= this.text.length || (/\s/.test(this.char) && /^\s+$/.test(this.ahead));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user