List Info

Thread: updated to 1.7 and have problems




updated to 1.7 and have problems
country flaguser name
United States
2007-08-21 15:45:08
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 hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: updated to 1.7 and have problems
country flaguser name
United States
2007-08-21 20:43:03
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

smoksolnet.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 hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )