Skip to content

Commit

Permalink
Merge pull request vmg#9 from rtomayko/no-sanitize
Browse files Browse the repository at this point in the history
Don't sanitize in auto_link
  • Loading branch information
vmg committed Nov 7, 2011
2 parents bf80e5a + 9343c72 commit 758785b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rails_rinku.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def rinku_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
Expand Down

0 comments on commit 758785b

Please sign in to comment.