From 2a50c139cf9a712d18f6c02676e42611adab64cd Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 21 May 2019 19:45:12 +0200 Subject: [PATCH] put code block on new line --- src/editor/deserialize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/deserialize.js b/src/editor/deserialize.js index adba1d52cde9..b1904b69b8e7 100644 --- a/src/editor/deserialize.js +++ b/src/editor/deserialize.js @@ -55,7 +55,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: