1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

adds missing tag style to action_view.sanitized_allowed_tags

This commit is contained in:
Nicolas Florentin 2022-07-27 15:59:22 +02:00
parent e4fb068c12
commit a7290147c7

View File

@ -74,7 +74,7 @@ module Fablab
FabManager.activate_plugins!
config.action_view.sanitized_allowed_tags = %w(a acronym hr pre table b strong i em li ul ol h1 h2 h3 h4 h5 h6 blockquote br cite sub sup ins p image iframe)
config.action_view.sanitized_allowed_tags = %w(a acronym hr pre table b strong i em li ul ol h1 h2 h3 h4 h5 h6 blockquote br cite sub sup ins p image iframe style)
config.after_initialize do
plugins = FabManager.plugins