diff --git a/app/models/communication/block/component/rich_text.rb b/app/models/communication/block/component/rich_text.rb index 114d7b01aca9ee3c20443001768946c3314d8f90..95ad22d6e3be6f3d889f0692eeafcea8b09f48f0 100644 --- a/app/models/communication/block/component/rich_text.rb +++ b/app/models/communication/block/component/rich_text.rb @@ -1,7 +1,7 @@ class Communication::Block::Component::RichText < Communication::Block::Component::Base def data=(value) - @data = Osuny::Sanitizer.sanitize value, 'text' + @data = SummernoteCleaner.clean value end end