diff --git a/lib/bootstrap-sass/sass_functions.rb b/lib/bootstrap-sass/sass_functions.rb index cca2489b..a78cc72c 100644 --- a/lib/bootstrap-sass/sass_functions.rb +++ b/lib/bootstrap-sass/sass_functions.rb @@ -16,7 +16,7 @@ module Sass::Script::Functions url = if Bootstrap.asset_pipeline? && (context = sprockets_context) context.send(:"#{type}_path", source.value) elsif Bootstrap.compass? - send(:"#{type}_url", source, Sass::Script::Bool.new(true)).value + send(:"#{type}_url", source, Sass::Script::Bool.new(true)).value.sub /url\((.*)\)$/, '\1' end # sass-only @@ -46,4 +46,4 @@ module Sass::Script::Functions importer.context end end -end \ No newline at end of file +end