There's not really any way to prevent it except to not use the comma
operator. You can use mixins to extract common properties to be shared.
=common-properties
:height 200px
li +common-properties
&#menu_item1
:some stuff
a
+common-properties
-chris
On Sat, Jun 13, 2009 at 8:24 PM, Noel_g <[email protected]> wrote:
>
> If I have
>
> li, a
> :height 200px
> &#menu_item1
>
> is there a way to prevent
>
> a#menu_item1
>
> from being generated?
>
> I only want li#menu_item1 to be generated.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---