Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
put code block on new line
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed May 21, 2019
1 parent ed7d42c commit 2a50c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/deserialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2a50c13

Please sign in to comment.