put code block on new line
This commit is contained in:
parent
53b6586986
commit
5f5a2f7140
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue