fix problem with spaces

This commit is contained in:
Woody 2024-11-09 23:55:09 +01:00
parent 271a07a7d6
commit 5de86d3d91
No known key found for this signature in database

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,