On Fri, Oct 2, 2009 at 9:16 AM, Norman Clarke <[email protected]> wrote:

> Also the way Haml is now, if you don't want the tag you can just add a
> conditional. The feature that's being described would leave you with
> no way to always get the tag if that's what you want, unless a config
> option is added.

If you wanted to force the tag to show even when your content was nil,
you could pretty easily do:

%li= nil.to_s

I've got no real opinion on which behavior makes more sense, but the
"don't show tags with nil content" behavior is easy to override,
case-by-case.

Cheers,
-Nate

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