|
|
@ -88,7 +88,7 @@ module.exports = class { |
|
|
|
this.state.text = this.state.text.slice(1).trim(); |
|
|
|
} |
|
|
|
|
|
|
|
if (input.post.kind === "text" && !this.state.text.includes("\"") && !this.state.text.includes("|")) { |
|
|
|
if (input.post.kind === "text" && !this.state.text.includes("\"") && !this.state.text.includes("\''") && !this.state.text.includes("|")) { |
|
|
|
const colonIndex = this.state.text.indexOf(": "); |
|
|
|
if (colonIndex != -1 && colonIndex < this.state.text.indexOf(" ")) { |
|
|
|
this.state.text = this.state.text.replace(": ", ": \"") + "\""; |
|
|
|