public
Description: El Dorado is a full-stack community web application written in Ruby/Rails.
Homepage: http://almosteffortless.com/eldorado/
Clone URL: git://github.com/trevorturk/el-dorado.git
removing white_list plugin and using sanatize instead since the plugin is 
in core now

git-svn-id: http://eldorado.googlecode.com/svn/trunk@509 
9c008b19-a030-0410-9975-d76d301b4276
trevorturk (author)
Mon Nov 05 23:23:36 -0800 2007
commit  dedaf26ff2df63da273b930573ddf0a9354777ca
tree    9763f02d6104e348b7f6a343464a1cc2ae76a425
parent  da21da2c5b96f52005d41f5aac4ccdd25008ede1
  • app/helpers/application_helper.rb
  • vendor/plugins/white_list/README
  • vendor/plugins/white_list/Rakefile
  • vendor/plugins/white_list/init.rb
  • vendor/plugins/white_list/lib/white_list_helper.rb
  • vendor/plugins/white_list/test/white_list_test.rb
...
81
82
83
84
 
85
86
87
...
81
82
83
 
84
85
86
87
0
@@ -81,7 +81,7 @@ module ApplicationHelper
0
   end
0
     
0
   def bb(text)
0
- text = simple_format(bbcodeize(white_list(h(text))))
0
+ text = simple_format(bbcodeize(sanitize(h(text))))
0
     auto_link(text) do |t|
0
       truncate(t, 50)
0
     end

Comments

    No one has commented yet.