fix(v2): tweak minify html to be safer (#2122)

This commit is contained in:
Endi 2019-12-13 16:36:54 +07:00 committed by Yangshun Tay
parent daa71b2eff
commit c036740790

View file

@ -78,7 +78,6 @@ export default async function render(locals) {
// minify html with https://github.com/DanielRuf/html-minifier-terser
return minify(renderedHtml, {
collapseWhitespace: true,
removeComments: true,
removeRedundantAttributes: true,
removeEmptyAttributes: true,