I am getting a ton of \t for some reason in front and behind the
text. Anybody know why this is? If I comment out the image_tag it
does the same thing.
<% unless @items.nil? %>
<% content_tag :ul, :class => "auto_complete" do %>
<% @items.each do |item| %>
<% content_tag :li do %>
<% content_tag :div do %>
<%= image_tag '/images/logo/logo.png' %>
<% content_tag :span, h(item.name) %>
<% end %>
<% end %>
<% end %>
<% end %>
<% end %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---