Hi all.
I just ran into something unexpected, and I'm wondering whether it's a
feature or a bug. Or a bug destined to become a feature.
I had:
%span.icon= image_tag("mockup/kenn.jpg", :alt => "Kenn Ejima"),
profile_url(:username => "kenn")
Which was a mistake. The profile_url is cruft from a refactoring, when
the image_tag was surrounded by a link_to.
Haml renders that as:
<span class="icon">
<img alt="Kenn Ejima" src="/images/mockup/kenn.jpg"
/>http://localhost:3000/people/kenn
</span>
Which is interesting. Is the concatenation after evaluation of
multiple Ruby expression separated by commas intended?
Thanks.
--
Chris Boone, Hypsometry
http://hypsometry.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---