diff --git a/src/editor/deserialize.js b/src/editor/deserialize.js index 71fe71d68a..8a410ea105 100644 --- a/src/editor/deserialize.js +++ b/src/editor/deserialize.js @@ -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: