Chris, you were absolutely right. I'm just check that, exactly, the
html output that I was getting is what I was expecting. The problem,
as Chris has pointed out, is I was looking at the wrong place
(firebug).
This is the html output:
<ul>
<li class='pet'>
<a href='/pets/3'>
<ul>
<li class='photo'>
<img alt="Dog1" src="/images/dog1.jpg" />
</li>
</ul>
</a>
</li>
</ul>
And this how browser interprets it:
<ul>
<li class="pet">
<a href="/pets/3"> </a>
<ul>
<a href="/pets/3"> </a>
<li class="photo">
<a href="/pets/3">
<img src="/images/dog1.jpg" alt="Dog1">
</a>
</li>
<a href="/pets/3"> </a>
</ul>
</li>
</ul>
So, is a browser problem, as Chris said.
Thanks both for your help! :)
--
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.