Mostly because Rails does it the same way. All of Rails' HTML-generation code generates XHTML, and it's important for Haml to be compatible with that.
On Sat, May 29, 2010 at 9:23 PM, Sonja Elen Kisa <[email protected]> wrote: > I was reading the essay below on why HTML 4.01 Strict is better than > XHTML, and it got me thinking... why is XHTML the default in HAML and > not HTML 4.01 Strict? > > http://www.webdevout.net/articles/beware-of-xhtml > > Sonja > > -- > 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] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- 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.
