This project is archived and is in readonly mode.
button_to should be html_safe!
Reported by Greg Hazel | February 27th, 2010 @ 01:40 AM | in 3.0.2
button_to is not html_safe:
button_to('Join', :controller => 'test', :action => 'join').html_safe? #=> nil
However, link_to is:
link_to('Join', :controller => 'test', :action => 'join').html_safe? #=> true
Comments and changes to this ticket
-
José Valim March 3rd, 2010 @ 09:03 AM
- Assigned user set to DHH
- Milestone cleared.
-
Santiago Pastorino March 4th, 2010 @ 11:51 AM
This bug report it's old.
returns true for me.
It was fixed by this commit http://github.com/rails/rails/commit/4cbb9db0#L17R315 -
José Valim March 4th, 2010 @ 11:52 AM
- State changed from new to resolved
-
Greg Hazel March 4th, 2010 @ 09:23 PM
Well "old" as in it applies to the currently released version: 2.3.5
-
Santiago Pastorino March 4th, 2010 @ 09:38 PM
Sorry Greg my english isn't good enough, i mean it's old in the sense that it's already applied to 2-3-stable and master branches
-
Greg Hazel May 26th, 2010 @ 12:57 AM
I can confirm that after upgrading to 2.3.8 this is fixed, so maybe the "Milestone" should be moved back to where the fix made it in.
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to High
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>