<script src='http://pastie.org/398403.js'></script>


//FAIL example
%ul
  -for element in ["One", "Two", "Three"]
    %li= element unless element == "Two"

%hr

//OK example
%ul
  -for element in ["One", "Two", "Three"]
    %li
      -unless element == "Two"
        = element

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