I have this:
listed in <%= @product.categories.map{ |cat| raw(link_to(cat.name, category_path(cat))) }.join(\', \') + \".\" %>
This i
you need to wrap the result of your map call with raw. This way you can tell rails that the string should be outputted directly into the template.
map
raw
listed in <%= raw(@product.categories.map{ |cat| raw(link_to(cat.name, category_path(cat))) }.join(', ') + ".") %>