diff --git a/marko/page/logs-content/components/post/component.js b/marko/page/logs-content/components/post/component.js index 839245b..4e450ff 100644 --- a/marko/page/logs-content/components/post/component.js +++ b/marko/page/logs-content/components/post/component.js @@ -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(": ", ": \"") + "\"";