Skip to content
This repository

html option seems be sanitized out in 1.0.8 #16

Closed
thoughtafter opened this Issue · 1 comment

2 participants

thoughtafter Egor Homakov
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.

Egor Homakov homakov referenced this issue from a commit
Egor Homakov homakov roll back and whitelist protocols
Repairing auto_link workflow
Closes #15 #16
2c98ff6
Egor Homakov
Collaborator
homakov commented

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

Egor Homakov homakov closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.