From 1b19e09e143db2a9dae5965280dfb0b56067e69e Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Mon, 9 Feb 2026 16:23:51 -0800 Subject: [PATCH] prettyHTML too aggressive in eating up extra spaces --- src/lib/html-formatter.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/html-formatter.js b/src/lib/html-formatter.js index 0c4cfb8..9254e02 100644 --- a/src/lib/html-formatter.js +++ b/src/lib/html-formatter.js @@ -46,8 +46,6 @@ const minify = function(el) { .replace(/>\s+<') .replace(/\s+/g, ' ') .replace(/\s>/g, '>') - .replace(/>\s/g, '>') - .replace(/\s