mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Static CSS @imports generate correct output. Thanks to Tim Pease.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@618 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
0404547f36
commit
4c243a146e
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ module Sass
|
||||||
end
|
end
|
||||||
|
|
||||||
if filename =~ /\.css$/
|
if filename =~ /\.css$/
|
||||||
nodes << Tree::ValueNode.new("@import #{filename}", @options[:style])
|
nodes << Tree::ValueNode.new("@import url(#{filename});", @options[:style])
|
||||||
else
|
else
|
||||||
File.open(filename) do |file|
|
File.open(filename) do |file|
|
||||||
new_options = @options.dup
|
new_options = @options.dup
|
||||||
|
|
Loading…
Add table
Reference in a new issue