That certainly shouldn't be there (well, it should, but due to some 
stupid browsers...). Fixed in trunk and stable. Thanks a bunch.

- Nathan

Sean, Tan Li Yang wrote:
> Hi,
>
> Just in case someone encountered pages breaking the same problem as me 
> after upgrading to version 1.7 of HAML, which has the autoclose feature.
>
> The default autoclose for haml includes the tag <script>. Pages that 
> containing %script tag used to load script files without inline content 
> should should not be autoclosed.
>
> For me, it causes incorrect rendering in both Firefox and Internet 
> Explorer, at least on the doctype
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
> The fix is simply removing 'script' from :autoclose on line 127 in 
> stable/lib/haml/engine.rb.
>
>
> --
> Sean Tan
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to