Hello there,
I'm not sure about this, but I'm having problems while using html5 in
haml. It looks like that the input tag is not being closed.
so if I have:
%input#search{:type => 'text', :name => 'q', :value => 'search
website'}

it generates:
<input id='search' name='q' type='text' value='search website'>

I already tried
%input#search{:type => 'text', :name => 'q', :value => 'search
website'}/
or even:
set :haml, { :format => :html5, :autoclose => ['meta', 'img',
'link','br', 'hr', 'input', 'area', 'param', 'col', 'base'] }

but nothing happens

Is there any way to make it work?

thanks

--

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=.


Reply via email to