Commit 3610cce4f744b698cd98882823aebd0e573f9e75

Authored by Victor Costa
1 parent d5b15513

Revert "put white_list on comment validation to avoid wrong parsers"

This reverts commit ac001d2af4c249435cad3b1c7b0223a20b3bad2a.
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 ], :with => 'white_list', :on => 'validation'
  49 + xss_terminate :only => [ :body, :title, :name ], :on => 'validation'
50 50  
51 51 def comment_root
52 52 (reply_of && reply_of.comment_root) || self
... ...