I am by far no expert at the differences in xhtml and html, so perhaps I shouldn't be suggesting a patch for this functionality... but isn't the primary difference between xhtml and html the self closing of atomic tags, and the generated doctype's?
See patch here: http://pastie.textmate.org/156722 Cheers, Ryan On Jan 7, 11:48 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote: > No, Haml doesn't supportHTML, only XHTML.HTMLis actually really hard > to generate, since it's so irregular - we'd have to add all sorts of > special-case logic, which we don't want to do. > > - Nathan > > eric wrote: > > hi, > > I just converted soundcloud.com to haml. I love it, fantastic stuff. > > Just one question: we'd actually prefer usinghtml4.01strict instead > > of xhtml 1.0 strict. > > How can I generate theHTML4.01doctype and also leave self-closed > > tags (br, meta, etc) without a tailing / ? > > > regards // eric (soundcloud.com) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
