Hey

I'm finding tags are not closed properly when I use haml with a
render_partial:

#{:id => "job#{j.id}"}
  = render_partial 'ajax/job', j, 'expand' => false, 'level' => 0

the render_partial essentially contains:

%ul
  %li= "some stuff"

and what I'm *sometimes* getting looks like haml is trying to close
the div with a /ul

<div id="job3">
  <ul>
    <li>some stuff</li>
  </ul>
</ul>

like the context of the render partial is messing with the original
context it was called from. it's as if haml isn't "reentrant" or
whatever that would be.

Is there a workaround? using haml 1.5.2 fwiw.

Brad


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to