Use package control http://wbond.net/sublime_packages/package_control and search for HTML Compressor
Chose HTML Compressor as a build system. Build file when ready.
The plugin generates a new file with the extension '.min.html'
To preserve comments from removing after minification use '!'. For example: /*! Comment */
Added two more separate build systems for CSS and JS.
- Instead of making '.min.html' plugin will put compressed html files in 'compressed' folder
- Compressor will keep quotes in html files by default
- Spaces between tags will be removed by default