threedaymonk / htmlbeautifier

A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates.
MIT License
325 stars 59 forks source link

Added cli argument for tab width. #8

Closed musicist288 closed 9 years ago

musicist288 commented 10 years ago

Hey, love the gem. I added a cli argument for setting the tab width of the beautifier so I can automate it as part of a build process I have in place for converting PHP templates into static HTML. Just though you might like it.

threedaymonk commented 10 years ago

Thanks, this seems useful. I'll try to look over it and merge it in in the next week or so.

threedaymonk commented 10 years ago

Thanks for this. There are a few things that I'd like to change, though:

If you'd like to take this on, let me know, otherwise I'll do it.

musicist288 commented 10 years ago

Thanks for looking it over. I can make these changes. I send another pull request when they're done.

threedaymonk commented 9 years ago

I'm really sorry. I didn't see that you had addressed my suggestions until I was checking other pull requests today.