Skip to content

Commit e9dd95e

Browse files
authored
Merge pull request #694 from limzykenneth/main
Fix html minifier removing relevant spaces in html body
2 parents 475f2af + 0c24150 commit e9dd95e

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)