Skip to content

Commit

Permalink
Merge pull request Aircoookie#4267 from w00000dy/space
Browse files Browse the repository at this point in the history
Fix problem with spaces
  • Loading branch information
netmindz authored Nov 16, 2024
2 parents a9b0b8a + 5de86d3 commit 4cd4c13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/cdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ function adoptVersionAndRepo(html) {
async function minify(str, type = "plain") {
const options = {
collapseWhitespace: true,
conservativeCollapse: true, // preserve spaces in text
collapseBooleanAttributes: true,
collapseInlineTagWhitespace: true,
minifyCSS: true,
Expand Down

0 comments on commit 4cd4c13

Please sign in to comment.