In case HAML will actually scream an error at you if you nest non-inline
tags in inline tags,
there is a problem.
What if I want to do <a><div>...</div></a> -- I just expect it to work, not
to have HAML scream
about it just because inline_tags includes <a>. Question is -- how will it
work?
There are two possibilities I see:
1. <a><div>
...
</div></a>
2. <a>
<div>
...
</div>
</a>
3. errors and screams (non-acceptable imho)
comments?
On 10/20/07, Inviz <[EMAIL PROTECTED]> wrote:
>
>
>
> Hampton:
> > Hrrrm, that's actually a really good idea.
> >
> > Once you just said it, it seems pretty obvious. Inline tags are a
> > subset of tags that are pretty easy to define.
> >
> > +1 for how obvious of a solution this is.
> >
> > Double bonus points for anyone who can dream up a reasonable time when
> > flattening these would go *wrong*.
> >
> > Also, anyone for a patch with tests?
> >
> > -hampton.
> >
> > PS: This isn't a commitment to the idea. I think about everything a
> > lot before anything is added to the spec-in-my-head. But, its a
> > positive first reactions on a beautiful Saturday morning.
>
> Thanks hampton. I'd surely make a patch if i were more experienced
> with ruby. Hope to see this in HAML. Then it'll be really most
> beautiful output as i see it :)
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---