Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add max line length option #203
I use html-minifier for emails, and some mail servers automatically add a new line after 1000 caracters. This behaviour breaks html structure.
For example :
It's a bit kludgy though I have some ideas about how to improve it, but it should basically accomplish what you're after.
Sure. I was thinking of poking at this some more to get better-compressed results.
For example, right now it maximally-compresses
<a class="hey">link link</a>
<a class="hey"> link link </a>
I think the best we can hope for is this:
<a class = "hey" > link link </a >
But that's a fish to fry another day!