Add newlines after block-like elements

Ooh, I didn't know about `String#end_with?`.