From a8bddbb281f3d75863585ac57c372e78566c5516 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 24 Feb 2022 17:30:21 +0100
Subject: [PATCH] remove class and style

---
 config/application.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/application.rb b/config/application.rb
index 78f7de8d3..6dbe81158 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",
 
     ]
-- 
GitLab