Closed rgarg8 closed 10 years ago
This code:
<div class="hello <%= "bye" if @welcome.nil? %>"> </div>
Generates:
%div{:class => "hello #{"bye" if @welcome.nil?}"}
Which will break because the quote is improperly closed.
Hello,
I don't know how I can fix this, any suggestions?
Thanks
Tom
What's the problem? This works fine, at least with the current version of Haml.
This code:
Generates:
Which will break because the quote is improperly closed.