Browse Source

logs-content: Added italics to irc post rendering.

1.1
Gisle Aune 6 years ago
parent
commit
5be6b1ecec
  1. 2
      marko/page/logs-content/components/post/component.js

2
marko/page/logs-content/components/post/component.js

@ -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 + '"'

Loading…
Cancel
Save