Haml is giving you what you're requesting but the browser is not -- some
block elements within inline content are/used-to-be invalid which would
cause the browser to close the inline tag when they block elements are
encountered -- assuming you left off the end tag. Then when it sees the
trailing en
It works fine for me. What HTML output are you seeing?
On Sun, Aug 22, 2010 at 4:26 PM, Fernando Espinosa <
fernando.espin...@gmail.com> wrote:
> Hi!
>
> I'm trying to put an unordered list inside an anchor tag. I'm using a
> html5 doctype, and version 3.0.17 of haml gem.
>
> This code is failing
Hi!
I'm trying to put an unordered list inside an anchor tag. I'm using a
html5 doctype, and version 3.0.17 of haml gem.
This code is failing:
%ul
- @pets.each do |pet|
%li.pet
%a{:href => url_for(pet)}
%ul
%li.photo
= image_tag('dog1.jpg')