Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
(fix) whitespace for distinguishing softbreak and linebreak was switched
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed May 15, 2019
1 parent 4e95176 commit b5f3f9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/markdown/fromMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default class FromMarkdown extends Markdown {
softbreak() {
this.stack.addTextLeaf({
object: 'leaf',
text: ' \n',
text: '\n',
marks: [],
});
}
Expand All @@ -237,7 +237,7 @@ export default class FromMarkdown extends Markdown {
linebreak() {
this.stack.addTextLeaf({
object: 'leaf',
text: '\n',
text: ' \n',
marks: [],
});
}
Expand Down

0 comments on commit b5f3f9a

Please sign in to comment.