You'll have to be a little more specific... I'm not sure what you're
getting at. What code is causing the problem, what's the result you
expect, and what's the result you're getting?
- Nathan
Evgeny wrote:
> I had a code that was for some reason breaking with HAML, it was a
> line like this :
> %img{ :src => url_for(:controller => 'image', :action => 'show', :id
> => image.id) }
>
> I even tried to write a small test for HAML to see that it really was
> an error, and came up with something like this :
>
> Template:
> %img{ :class => h('string') }/
>
> Test error:
> <"<img class='string' />"> expected but was <"<img class=\"string
> \" />">.
>
>
> This test might actually show a different kind of error as well ...
> with the h() helper.
>
>
> Anyways, this looks like it should be different ... I expect calling
> helpers inside %p{ ... } to work properly, even when they have
> brackets like in helper_name(options).
>
> Please fix?
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---