Add rinku to get auto_link support back

This commit is contained in:
Tom Hughes 2011-09-25 11:51:17 +01:00
parent 416e4c91c8
commit 3377879d39
3 changed files with 4 additions and 1 deletions

View file

@ -10,7 +10,7 @@ module ApplicationHelper
end
def linkify(text)
return auto_link(text, :link => :urls, :html => { :rel => "nofollow" })
return Rinku.auto_link(text, :urls, tag_options(:rel => "nofollow"))
end
def html_escape_unicode(text)