Cool. I'll write a patch.
On Dec 9, 11:16 pm, Nathan Weizenbaum <
nex...@gmail.com> wrote:
> This is an interesting idea. The code probably couldn't be re-used from the
> engine - that's too wrapped up in parsing the attributes and so forth as
> well - but if someone wanted to write a patch to add it in, I'd accept it.
>
> On Wed, Dec 9, 2009 at 6:53 AM, seb <
sebi.burkh...@gmail.com> wrote:
> > I use haml_tag quite often, and compared to HAML templates it's
> > annoying to write:
>
> > haml_tag :div, :id => 'post', :class => 'large'
>
> > instead of the much simpler
>
> > haml_tag "div#post.large"
>
> > Does anyone have any suggestions on how to implement this. I'm sure
> > parsing "div#post.large" is already implemented somewhere, but where?
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Haml" group.
> > To post to this group, send email to
ha...@googlegroups.com.
> > To unsubscribe from this group, send email to