Thank you for the explanation! In my opinion, to improve the haml comments should be possible at any place, anyway they are removed. When interpretator sees -#, it should remove the line. Probably, I am mistaking and can't see the problems, that could appear in this case.
Another problem. When I put the code like this: - if -# comment - else there is a translation into if end # comment else (but why I don't receive a notification about error?, can it happen that block of code begins with "else" without "if" before?) thank you, Evgeny > You'd have to write that as: > > -if > -# comment > -else > > When you put it in the first column you're explicitly telling Haml > that you want to end the previously nested scope(s). When you format > Haml source code you can't align it so that it looks nice to your eye, > you have to align it so that the whitespace dictates the desired > semantics. > > Cheers, > Wincent --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
