html option seems be sanitized out in 1.0.8 #16

Closed
thoughtafter opened this Issue May 26, 2012 · 1 comment

2 participants

@thoughtafter

1.0.7:

helper.auto_link("this is a test https://github.com/", :html=>{:rel => "nofollow"})
=> "this is a test <a href=\"https://github.com/\" rel=\"nofollow\">https://github.com/</a>"

1.0.8:

helper.auto_link("this is a test https://github.com/", :html=>{:rel => "nofollow"})
=> "this is a test <a href=\"https://github.com/\">https://github.com/</a>"

This may be a deliberate change of behavior but if so there should be something documenting how to update the code.

@homakov homakov added a commit that referenced this issue May 26, 2012
@homakov homakov roll back and whitelist protocols
Repairing auto_link workflow
Closes #15 #16
2c98ff6
@homakov
Collaborator

Yes I dealt with output very badly sanitizing it all. Now we rolled back and fixed the problem in another way - use 1.0.9 please

@homakov homakov closed this May 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment