threedaymonk / htmlbeautifier

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

Indent after `until` and `for` without optional `do` keyword. #24

Closed mkozono closed 9 years ago

mkozono commented 9 years ago

I didn't realize do was optional on these statements until I found this bug.

threedaymonk commented 9 years ago

Thanks, I've tweaked the commit slightly (added a blank line and made the first line of the commit message shorter) and pushed it to master.