commit
ab75680ed3
|
@ -109,7 +109,7 @@ export class SlashCommandParser {
|
||||||
return this.text[this.index];
|
return this.text[this.index];
|
||||||
}
|
}
|
||||||
get endOfText() {
|
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…
Reference in New Issue