On Mon, Nov 23, 2009 at 14:39, ludicco <[email protected]> wrote: > 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.
Somebody correct me if I'm wrong, but the input tag (like many other tags) doesn't have to be closed. In fact, forcing it to render a self-closing tag makes no sense unless you're using XHTML. If you want to write your HTML5 with an XHTML syntax, tell Haml to render your templates as ":format => :xhtml" and use "!!! 5" to get a HTML5 doctype (you need the newest stable version). -- 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=.
