diff --git a/config/application.rb b/config/application.rb
index 78f7de8d3b3ecb653047e4e2734319db037edf8f..6dbe81158b8851969714c9e89215316baf885edc 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -56,9 +56,9 @@ module Osuny
       "sub", "sup", "tt", "u", "ul", "var", "video", "iframe"
     ]
     config.action_view.sanitized_allowed_attributes = [
-      "abbr", "allowfullscreen", "alt", "cite", "class", "controls", "datetime",
+      "abbr", "allowfullscreen", "alt", "cite", "controls", "datetime",
       "decoding", "frameborder", "height", "href", "loading", "mozallowfullscreen",
-      "name", "sizes", "src", "srcset", "style", "target", "title", "type",
+      "name", "sizes", "src", "srcset", "target", "title", "type",
       "webkitallowfullscreen", "width", "xml:lang",
 
     ]