Skip to content

Commit bee898a

Browse files
committed
Remove cleanDoc
1 parent 8d4f77c commit bee898a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/language-markdown/printer-markdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
softline,
1616
} from "../document/builders.js";
1717
import { printDocToString } from "../document/printer.js";
18-
import { cleanDoc, replaceEndOfLine } from "../document/utils.js";
18+
import { replaceEndOfLine } from "../document/utils.js";
1919
import getMaxContinuousCount from "../utils/get-max-continuous-count.js";
2020
import getMinNotPresentContinuousCount from "../utils/get-min-not-present-continuous-count.js";
2121
import getPreferredQuote from "../utils/get-preferred-quote.js";
@@ -76,7 +76,7 @@ function genericPrint(path, options, print) {
7676
if (node.children.length === 0) {
7777
return "";
7878
}
79-
return [cleanDoc(printRoot(path, options, print)), hardline];
79+
return [printRoot(path, options, print), hardline];
8080
case "paragraph":
8181
return printParagraph(path, options, print);
8282
case "sentence":

0 commit comments

Comments
 (0)