Hey, I made a little test for you:

Modified .html.haml :
      %td#whatif.itworks.fine hm?

Gives this (Right click / Viev source ;P)

<td class='itworks fine' id='whatif'>hm?</td>

But it's a good question, I'll check HAML soon too ;)

On Mar 2, 7:20 pm, Manoj Sachwani <[email protected]> wrote:
> Thanks Philip!
>
> Yea, I meant to ask that specifically, sorry does it support #foo to
> be converted to a section tag with id foo or something?
>
> On Mar 2, 11:17 pm, Philip Hallstrom <[email protected]> wrote:
>
>
>
>
>
>
>
> > > I wanted to covert all my erb over to haml, but I use HTML5 tags like
> > > nav, section, article, etc. Any idea if this is supported by haml?
> > > Checked out their site, nothing mentioned there or did I miss
> > > something. Sorry noob here.
>
> > HAML doesn't care (at least I don't think so)...
>
> > %div or %nav or %section... they are all just tags...
>
> > Now, whether HAML has special support similar to how "#foo" gets turned 
> > into a div with an id of 'foo' I don't know...
>
> > -philip

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to