logs-content: Added italics to irc post rendering.
the build was successful

This commit is contained in:
2018-10-31 23:25:35 +01:00
parent ea89975b14
commit 5be6b1ecec
@@ -46,7 +46,7 @@ module.exports = class {
this.state.name = input.post.nick
this.state.nameSuffix = ""
this.state.text = input.post.text.replace(/\x02/g, "**")
this.state.text = input.post.text.replace(/\x02/g, "**").replace(/\x1D/g, "_")
if (input.post.kind === "text" && !this.state.text.includes("\"")) {
this.state.text = '"' + this.state.text + '"'