Skip to content

Commit 0c24150

Browse files
committed
Fix html minifier removing relevant spaces in html body
1 parent 475f2af commit 0c24150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/fast-compress.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Writing ${writingBar} ${Math.floor(writingProgress * 100)}% (${total - writin
9090

9191
try{
9292
const data = await minify(text, {
93-
collapseWhitespaces: "all",
93+
collapseWhitespaces: "smart",
9494
removeComments: true,
9595
sortAttributes: true
9696
});

0 commit comments

Comments
 (0)