nex3/haml — Issue #492: Sass @import doesn't work inline haml
Author: marcandre
Created: 2012-02-28 05:17:49+00:00
State: open

If I write in an haml file (say views/layouts/application.html.haml):

:sass
@import blueprint

That will fail.

The same @import will work from within assets (say assets/stylesheets/application.css.sass)

I realize it might not the best idea to write inline sass, but it still should work.

Tests made using the very latest of everything:
*Gemfile.lock (extract)*

rails (3.2.1)
haml (3.1.4)
sass (3.1.15)
sass-rails (3.2.4)
compass-rails (1.0.0.rc.3)
compass (0.12.rc.1)

*ruby -v*

ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]

Hopefully I'm opening this issue at the right place; I'm assuming that haml is the best place to fix this, not compass or sass.

Thanks