put code block on new line

pull/21833/head
Bruno Windels 2019-05-21 19:45:12 +02:00
parent 53b6586986
commit 5f5a2f7140
1 changed files with 1 additions and 1 deletions

View File

@ -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: