haml/haml — pull request #530 by mattwildig (2012-05-09 02:12:33+00:00)
Title: Silence some more warnings

More on issue #515.

I’ve deliberately left the indentation alone on the erb template, so that it’s easier to see what’s changed.

It’s a fairly “brute force” fix, in that there may be a simpler way to combine the various conditionals to generate the correct code, but it’s a maze of twisty little passages, all alike.