I actually wrote a Rails plugin that overwrites Rails view helpers to prevent them rendering self-closing tags (Rails was oriented towards "XHTML" output from the start): http://github.com/mislav/standardista
On Tue, Nov 24, 2009 at 08:15, Nathan Weizenbaum <[email protected]> wrote: > Haml certainly values the look and feel of the HTML output. That's why we > go to such pains to properly indent everything and produce valid code. But > it also cares about conventions, and the convention for writing HTML5, like > other versions of HTML, is clearly not to include the closing slash. This is > a minor enough formatting preference that I don't think it's worth adding a > configuration option specifically for it, especially when currently the > :xhtml format option does exactly this. -- 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.
