public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
Merge branch 'master' of git@github.com:rails/rails
lifo (author)
Sun May 11 15:59:27 -0700 2008
commit  c11bd7e713c7e79c579dd901585652c959d1e2c7
tree    16a44a7df198c00f03fdcaa6853264f00170523e
parent  80e18e759e5244bbffd637e306f4f18b92af5caf parent  9a137506a1267ec5938fcec4d2ff135f15037459
...
48
49
50
 
 
 
 
 
51
52
53
...
48
49
50
51
52
53
54
55
56
57
58
0
@@ -48,6 +48,11 @@
0
       # config.action_view.sanitized_allowed_attributes = 'id', 'class', 'style'
0
       # end
0
       #
0
+ # Please note that sanitizing user-provided text does not guarantee that the
0
+ # resulting markup is valid (conforming to a document type) or even well-formed.
0
+ # The output may still contain e.g. unescaped '<', '>', '&' characters and
0
+ # confuse browsers.
0
+ #
0
       def sanitize(html, options = {})
0
         self.class.white_list_sanitizer.sanitize(html, options)
0
       end

Comments

    No one has commented yet.