Add rinku to get auto_link support back
This commit is contained in:
parent
416e4c91c8
commit
3377879d39
3 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue