From b7e66a765886d09ea15cda27294bceff0612fe5b Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 2 Jul 2011 20:57:24 -0700 Subject: [PATCH] Fix the mime type returned for svg images. Closes GH-442. --- lib/compass/sass_extensions/functions/inline_image.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/compass/sass_extensions/functions/inline_image.rb b/lib/compass/sass_extensions/functions/inline_image.rb index 9e411751..2c59f765 100644 --- a/lib/compass/sass_extensions/functions/inline_image.rb +++ b/lib/compass/sass_extensions/functions/inline_image.rb @@ -35,6 +35,8 @@ private 'image/jpeg' when /\.gif$/i 'image/gif' + when /\.svg$/i + 'image/svg+xml' when /\.otf$/i 'font/opentype' when /\.ttf$/i