The Haml multiline syntax is intentionally awkward. It's meant to encourage people away from putting large blocks of Ruby in their views, and towards moving their code into helpers. This almost always results in nicer code and easier-to-read views.
On Tue, Nov 24, 2009 at 10:15 AM, svoop <[email protected]> wrote: > Hi > > How about allowing an alternative multiline syntax: > > http://pastie.org/713107 > > Maybe this is a no go for the parser, though. > > Cheers, -sven > > -- > > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > > -- 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.
