Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jul 23, 2022
1 parent c5ffd91 commit f79c8d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/document/printer.js
Expand Up @@ -433,7 +433,6 @@ function printDocToString(doc, options) {
contentFlatCmd,
[],
rem,
options,
lineSuffix.length > 0,
true
);
Expand Down Expand Up @@ -525,7 +524,7 @@ function printDocToString(doc, options) {

case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
if (lineSuffix.length > 0) {
cmds.push({ ind, mode, doc: { type: "line", hard: true } });
cmds.push({ ind, mode, doc: hardlineWithoutBreakParent });
}
break;

Expand Down

0 comments on commit f79c8d5

Please sign in to comment.