This commit is contained in:
fisker Cheung committed 2022-07-23 20:48:21 +08:00
1 parent c5ffd9130f
commit f79c8d56ac
1 file changed
+1 -2
+1 -2
View File
@@ -433,7 +433,6 @@ function printDocToString(doc, options) {
contentFlatCmd,
[],
rem,
options,
lineSuffix.length > 0,
true
);
@@ -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;