I can't reproduce this. What version of Haml are you using? Can you provide code that displays the error when run with the haml executable on the command line?
In general, it's a bad idea to end a line with "# do" when there's code indented beneath that line, because it makes Haml think you're starting a Ruby block when you aren't actually. On Sun, Oct 10, 2010 at 11:32 PM, Jason <i...@jasonling.com> wrote: > This renders as expected in development mode, but in production mode > the following haml: > > STUFF AT THE TOP > - if true # do > "1- if true # do" > - if true #do > "2- if true #do" > - "3a"; if true # do > "3b- if true # do" > > renders the below: > > STUFF AT THE TOP > "1- if true # do" > STUFF AT THE TOP > "1- if true # do" > "2- if true #do" > 3a"3b- if true # do" > > Any ideas? > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to h...@googlegroups.com. > To unsubscribe from this group, send email to > haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>. > 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 h...@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.