Update to rails 5.1.4

This commit is contained in:
Tom Hughes 2017-10-09 21:03:46 +01:00
parent 4b91dc4228
commit f773f67958
8 changed files with 77 additions and 58 deletions

View file

@ -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