Don't forget to trim on white-space only lines...

![screen shot 2013-09-17 at 10 54 39 am](https://f.cloud.github.com/assets/83509/1159227/42a84306-1fc2-11e3-92a1-b08fd593c36e.png)