Skip to content

Commit

Permalink
Properly escape dumped marshaled importers in the Rails plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Nov 26, 2010
1 parent e2c9ffb commit 2f9b02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sass/plugin/rails.rb
Expand Up @@ -60,7 +60,7 @@ def call(template, view)
:variable => "importer_#{i}",
:expression => (importer == rails_importer ?
"Sass::Importers::Rails.new(lookup_context)" :
"Sass::Util.load(#{Sass::Util.dump(importer)})")
"Sass::Util.load(#{Sass::Util.dump(importer).inspect})")
}]
end)

Expand Down

0 comments on commit 2f9b02d

Please sign in to comment.