Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

auto_link doesn't accept target='_blank' in Rails 3

#6355

example:

auto_link(text, :html => { :target => '_blank' }) do |link_text|

end

issue:

target is not set as href attribute.

Reported by chrisg · February 1st, 2011 @ 04:10 PM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. 2kan
    2kan

    It works in master. Both with and without block.

    February 7th, 2011 @ 09:39 PM

  2. Nico
    Nico

    Nope, can confirm, doesn't work here as well (Rails 3.0.3)

    March 2nd, 2011 @ 09:17 AM

  3. Akhil Bansal
    Akhil Bansal

    Working for me in both master and 3.0.3.

    March 2nd, 2011 @ 12:06 PM

  4. 2kan
    2kan

    Yes, I can confirm again that it works in master and 3.0.3

    March 2nd, 2011 @ 12:07 PM