0

I am using htmlcompressor lib.

The compress method does the job.

If the input is say "<div> \n\nhtml\n\n </div>"

It does convert the above to "<div> html </div>"

It still leaves at least single space around the tags. Is there a way, to say get rid of this with this lib. If not do we have a compressor that does a better job?

Amogh Talpallikar
  • 12,084
  • 13
  • 79
  • 135

0 Answers0