diff --git a/Gemfile.lock b/Gemfile.lock index 3f6528c2c76f522360e97615c25d266689d206e2..92c97865da74ea89f13d85e5ef6b4798993d24b8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -202,7 +202,7 @@ GEM js_cookie_rails (2.2.0) railties (>= 3.1) json (2.6.1) - kamifusen (1.10) + kamifusen (1.10.1) image_processing rails kaminari (1.2.1) diff --git a/config/application.rb b/config/application.rb index f7a0bf5c3c89ce5aa3688ebc8c9010c7752a9e26..41bc524873b8ebd0057b94f63d0b0c27eb80da6f 100644 --- a/config/application.rb +++ b/config/application.rb @@ -49,7 +49,7 @@ module Osuny } config.action_view.sanitized_allowed_tags = ['strong', 'em', 'b', 'i', 'u', 'p', 'code', 'pre', 'tt', 'samp', 'kbd', 'var', 'sub', 'sup', 'dfn', 'cite', 'big', 'small', 'address', 'hr', 'br', 'div', 'span', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ul', 'ol', 'li', 'dl', 'dt', 'dd', 'abbr', 'acronym', 'a', 'img', 'blockquote', 'del', 'ins', 'picture'] - config.action_view.sanitized_allowed_attributes = ['href', 'src', 'srcset', 'width', 'height', 'alt', 'cite', 'datetime', 'title', 'class', 'name', 'xml:lang', 'abbr', 'style', 'target', 'sizes', 'loading', 'decoding'] + config.action_view.sanitized_allowed_attributes = ['href', 'src', 'srcset', 'width', 'height', 'alt', 'cite', 'datetime', 'title', 'class', 'name', 'xml:lang', 'abbr', 'style', 'target', 'sizes', 'loading', 'decoding', 'type'] config.allowed_special_chars = '#?!,@$%^&*+£µ-'