diff --git a/app/models/communication/extranet/with_style.rb b/app/models/communication/extranet/with_style.rb
index f3d5e22a20738005e14b489f1e7223eda8ba0b53..cb8709cd240056215c956adc11b3db969b296635 100644
--- a/app/models/communication/extranet/with_style.rb
+++ b/app/models/communication/extranet/with_style.rb
@@ -8,6 +8,6 @@ module Communication::Extranet::WithStyle
   protected
 
   def generate_css
-    self.css = SassC::Sass2Scss.convert sass
+    self.css = SassC::Engine.new(sass, syntax: :sass, style: :compressed).render
   end
 end
\ No newline at end of file