Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't sanitize in auto_link

Not sure why this is here. Core Rails's auto_link doesn't sanitize
that I'm aware of. Definitely not under <= 2.3.
  • Loading branch information...
commit 9343c7272473874a8cea9c8c17685794bd6c33df 1 parent 60f8213
@rtomayko rtomayko authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/rails_rinku.rb
View
1  lib/rails_rinku.rb
@@ -10,7 +10,6 @@ def auto_link(text, *args, &block)
options[:html] = args[1] || {}
end
options.reverse_merge!(:link => :all, :html => {})
- text = sanitize(text) unless options[:sanitize] == false
Rinku.auto_link(text, options[:link], tag_options(options[:html]), &block)
end
Please sign in to comment.
Something went wrong with that request. Please try again.