Permalink
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...
1 parent 60f8213 commit 9343c7272473874a8cea9c8c17685794bd6c33df @rtomayko rtomayko committed Nov 7, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/rails_rinku.rb
View
@@ -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

0 comments on commit 9343c72

Please sign in to comment.