minifyHTML may not wrap attributes with double quotation
Opened this issue · 0 comments
yw662 commented
> minifier.minifyHTML(`<div style="background: red"></div>`)
'<div style="background: red"></div>'
This is valid, but the space is not trimmed.
> minifier.minifyHTML(`<div style="background:red"></div>`)
"<div style=background:red></div>"
However this is invalid HTML without double quotation, which is a bug that should be fixed.