From 3610cce4f744b698cd98882823aebd0e573f9e75 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 3 Nov 2014 14:06:46 -0300 Subject: [PATCH] Revert "put white_list on comment validation to avoid wrong parsers" --- app/models/comment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/comment.rb b/app/models/comment.rb index 1c49171..d4d196b 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 ], :with => 'white_list', :on => 'validation' + xss_terminate :only => [ :body, :title, :name ], :on => 'validation' def comment_root (reply_of && reply_of.comment_root) || self -- libgit2 0.21.2