I looked at my HTML output today and all this chaotic whitespace triggered my OCD.
This module simply hooks into Page::render and removes whitespaces from frontend HTML with a simple regex replace.
I mostly put this together for cosmetics. I like my View source neat and tidy.
This is not well tested yet, please open an issue if you run into problems.
GitHub: https://github.com/timohausmann/MinifyPageRender