4👍
✅
Looks like gulp-minify-html
(or rather the module it uses minimize
) removes attributes without values by default.
You can easily fix that: .pipe(minifyHTML())
=> .pipe(minifyHTML({empty: true}))
Source:stackexchange.com