Update to rails 5.1.4
This commit is contained in:
parent
4b91dc4228
commit
f773f67958
8 changed files with 77 additions and 58 deletions
|
@ -57,9 +57,9 @@ module RichText
|
|||
|
||||
def linkify(text)
|
||||
if text.html_safe?
|
||||
Rinku.auto_link(text, :urls, tag_options(:rel => "nofollow")).html_safe
|
||||
Rinku.auto_link(text, :urls, tag_builder.tag_options(:rel => "nofollow")).html_safe
|
||||
else
|
||||
Rinku.auto_link(text, :urls, tag_options(:rel => "nofollow"))
|
||||
Rinku.auto_link(text, :urls, tag_builder.tag_options(:rel => "nofollow"))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue