Oops, that's an oversight in the literal attribute value
regex. I've
just fixed it in trunk and stable. Thanks for pointing it
out.
- Nathan
smok solnet.ch wrote:
> Hi,
> just updated to 1.7 and html generation works bad in
such case:
> .units{:id => 'group' + group.id.to_s + 'units'}
> generates
> <div class='units' id="group' + group.id.to_s + 'units">
> previous haml properly generated
> <div class='units' id='group7units'>
>
> problem causes suffixed text cause following works
fine:
> .units{:id => 'group' + group.id.to_s}
> generates
> <div class='units' id='group7'>
>
> I guess it is a bug?
>
> cheers,
> smok
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to haml googlegroups.com
To unsubscribe from this group, send email to
haml-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---
|