|
@ -81,7 +81,7 @@ module.exports = class { |
|
|
this.state.name = input.post.nick |
|
|
this.state.name = input.post.nick |
|
|
this.state.nameSuffix = "" |
|
|
this.state.nameSuffix = "" |
|
|
|
|
|
|
|
|
this.state.text = input.post.text.replace(/\x02/g, "**").replace(/\x1D/g, "_").trim(); |
|
|
|
|
|
|
|
|
this.state.text = input.post.text.replace(/\x02/g, "**").replace(/\x1D/g, "*").replace(/\`/g, "\\`").trim(); |
|
|
|
|
|
|
|
|
if (this.state.text.startsWith("|")) { |
|
|
if (this.state.text.startsWith("|")) { |
|
|
this.state.name = "" |
|
|
this.state.name = "" |
|
|