diff --git a/app/models/comment.rb b/app/models/comment.rb index 9ad0c9a..674a2e7 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -46,7 +46,7 @@ class Comment < ActiveRecord::Base acts_as_having_settings :field => :setting - xss_terminate :only => [ :body, :title, :name ], :on => 'validation' + xss_terminate :only => [ :body, :title, :name ], :with => 'white_list', :on => 'validation' def comment_root (reply_of && reply_of.comment_root) || self -- libgit2 0.21.2