diff --git a/packages/docusaurus/src/client/serverEntry.js b/packages/docusaurus/src/client/serverEntry.js index c19e9f4776..5d9bd29dcc 100644 --- a/packages/docusaurus/src/client/serverEntry.js +++ b/packages/docusaurus/src/client/serverEntry.js @@ -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,