Jump to content


Recommended Posts

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



  • Like 7
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...