Merge pull request #4267 from w00000dy/space

Fix problem with spaces
This commit is contained in:
netmindz 2024-11-16 07:14:34 +00:00 committed by GitHub
commit 4cd4c13b2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,