I've pushed a fix for this. Thanks for reporting!

On Wed, Jun 3, 2009 at 12:08 PM, Nathan Weizenbaum <[email protected]> wrote:
> Yes, this is a bug. I'll look into it.
>
> 2009/6/3 Bjørn Arild Mæland <[email protected]>:
>>
>> I'm having a problem with the :suppress_eval option - if a tag
>> contains a literal string with commas in it, the tag is considered to
>> contain evaluation (I presume). Take a look at the following examples:
>>
>>    irb(main):016:0>  Haml::Engine.new("%h2{:style => 'A
>> b'}", :suppress_eval => true).render
>>    => "<h2 style='A b'></h2>\n"
>>
>>    irb(main):013:0> Haml::Engine.new("%h2{:style => 'A,
>> b'}", :suppress_eval => true).render
>>    => "<h2></h2>\n"
>>
>>    irb(main):015:0> Haml::Engine.new("%h2{:style => 'A,
>> b'}", :suppress_eval => false).render
>>    => "<h2 style='A, b'></h2>\n"
>>
>> This is with the haml-edge gem (2.1.18). I would assume this is a bug,
>> or am I missing something?
>>
>> -Bjørn
>> >>
>>
>

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