I can't reproduce this. Segfaults are usually caused by broken C code; it
could be that Haml's doing something to trigger this, but it's also possible
that it's some entirely different bit of the system that's failing and this
is just where it's being noticed.
The code with the space after %html is invalid Haml, so it seems likely that
raising a syntax error somehow causes something to fail.
On Mon, Mar 31, 2008 at 10:31 AM, Pierre Y. <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> HAML rendered causes a segfault resulting in webrick/mongrel to crash
> if a space included before attributes hashs :
>
> !!! XML
> !!! 1.1
> %html{html_attrs('fr-fr')}
> %head
> %body
>
> Renders nicely, while this one crashes :
>
> !!! XML
> !!! 1.1
> %html {html_attrs('fr-fr')}
> %head
> %body
>
> Is this as exected ?
>
> Regards,
>
> --
> Pierre Yager
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---