This code is not opening the link in a new window. Any ideas?
<%= auto_link(@post, :href_options => { :target => '_blank' }) %>
This code is not opening the link in a new window. Any ideas?
<%= auto_link(@post, :href_options => { :target => '_blank' }) %>
normal without the target= “_blank”
I have seen suggestions that there is an error in the docs for auto_link and that it should be :html => {} rather than :href_options => {}. I cannot vouch for the correctness or otherwise of this however.
Colin
Ya that worked. Thanks, I should have tried that. DOH!