put code block on new line
parent
53b6586986
commit
5f5a2f7140
|
@ -56,7 +56,7 @@ function parseHtmlMessage(html, room) {
|
|||
case "STRONG":
|
||||
return new PlainPart(`**${n.textContent}**`);
|
||||
case "PRE":
|
||||
return new PlainPart(`\`\`\`${n.textContent}\`\`\``);
|
||||
return new PlainPart(`\`\`\`\n${n.textContent}\`\`\``);
|
||||
case "CODE":
|
||||
return new PlainPart(`\`${n.textContent}\``);
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue