Commit 47e96cd0bf18b798ce7e2e71c9c03dcc0beecd93
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'rails3_stable' of gitlab.com:participa/noosfero into rails3_stable
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/comment.rb
... | ... | @@ -46,7 +46,7 @@ class Comment < ActiveRecord::Base |
46 | 46 | |
47 | 47 | acts_as_having_settings :field => :setting |
48 | 48 | |
49 | - xss_terminate :only => [ :body, :title, :name ], :on => 'validation' | |
49 | + xss_terminate :only => [ :body, :title, :name ], :with => 'white_list', :on => 'validation' | |
50 | 50 | |
51 | 51 | def comment_root |
52 | 52 | (reply_of && reply_of.comment_root) || self | ... | ... |