That sounds like a bug, but I can't reproduce it. What version of Haml are you using?
chris wrote: > Here is the code: > ============= > %p.search-results > - if @people.nil? > %h3.center-text No matching people were found. > > - else > ... > > With the above code the <p class="search-results"> tag is always > closed too early and all the following code gets rendered after the </ > p>. > > If I remove the %p it works as expected, and if I replace the p with > div it also works. > > Am I missing something or is this a bug? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
