title: HTML-Minifier removes the spaces between element's attributes
body: <p>I have implemented html-minifier over my html code to minify the html for production environment. Here I have observed that when my code gets minified along with the spaces between by attributes also gets removed. Below is my raw HTML snippet and the minified snippet:</p>
  
  <p><strong>Raw HTML Snippet</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;title&gt;ABS Website&lt;/title&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" /&gt;
      &lt;meta name="robots" content="index, follow" /&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no" /&gt;
      &lt;meta name="description" content="Somedescriptions"
      /&gt;
      &lt;!-- Bootstrap links --&gt;
      &lt;link rel="stylesheet" href="common/styles/bootstrap/bootstrap.min.css"&gt;
  </code></pre>
  
  <p><strong>Minified HTML Snippet</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;&lt;html lang=en&gt;&lt;title&gt;ABS Website&lt;/title&gt;&lt;meta charset=utf-8&gt;&lt;meta content="IE=edge, chrome=1"http-equiv=X-UA-Compatible&gt;&lt;meta content="index, follow"name=robots&gt;&lt;meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"name=viewport&gt;&lt;meta content="somedescription"name=description&gt;&lt;link href=common/styles/bootstrap/bootstrap.min.css rel=stylesheet&gt;
  </code></pre>
  
  <p>Above is one of the snippets of many html files I am  minifying using html-minifier, to do this minification I am using the gulp package <strong>"gulp-htmlmin": "^4.0.0"</strong>
  And below are features I have marked in .pipe to get executed for html minification:</p>
  
  <pre><code>gulp.task('copy-welcome-page', function () {
      gulp.src(['./index.html', './privacy-policy.html', './pagenotfound.html', './google8dd2827589fa9627.html', './terms-conditions.html'], { "base": "." })
          .pipe(htmlmin({
              collapseWhitespace: true,
              removeComments: true,
              collapseBooleanAttributes: true,
              collapseWhitespace: true,
              decodeEntities: true,
              minifyCSS: true,
              minifyJS: true,
              processConditionalComments: true,
              removeAttributeQuotes: true,
              removeComments: true,
              removeEmptyAttributes: true,
              removeOptionalTags: true,
              removeRedundantAttributes: true,
              removeScriptTypeAttributes: true,
              removeStyleLinkTypeAttributes: true,
              removeTagWhitespace: true,
              sortAttributes: true,
              sortClassName: true,
              trimCustomFragments: true,
              useShortDoctype: true
          }))
          .pipe(gzip({ gzipOptions: { level: 9 }, append: false }))
          .pipe(gulp.dest('build/'));
  });
  </code></pre>
  
  <p>How can I resolve the issue of removal of spaces between attributes?</p>
  
  <p>My expected output is get the minified html without the removal spaces from the mid of element's attributes.</p>
  
  <p><strong>Why I want this?</strong>
  I want this because html validator by w3 is throwing me error as shown in screen shot, and this all about missing space between attributes:</p>
  
  <p><a href="https://i.stack.imgur.com/Yo2Lm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yo2Lm.png" alt="enter image description here"></a></p>