Forums / Developer / How to minify html / Comment65690

Author Topic

Marko Žmak

Tuesday 08 February 2011 1:18:06 pm

Comment65690

If you want to minify your HTML by removing extra spaces, then eztidy might be a little bit of overkill.

Creating your own output filter sounds like a better solution. I believe it should do the trick by doing this:

  • replace all whitespace characters with space
  • remove all duplicate spaces

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth