diff --git a/core/lib/compass/core/sass_extensions/functions/inline_image.rb b/core/lib/compass/core/sass_extensions/functions/inline_image.rb index e8baa36c08..4ab7d09572 100644 --- a/core/lib/compass/core/sass_extensions/functions/inline_image.rb +++ b/core/lib/compass/core/sass_extensions/functions/inline_image.rb @@ -43,7 +43,9 @@ def compute_mime_type(path, mime_type = nil) when /\.ttf$/i 'font/truetype' when /\.woff$/i - 'application/font-woff' + 'font/woff' + when /\.woff2$/i + 'font/woff2' when /\.off$/i 'font/openfont' when /\.([a-zA-Z]+)$/