1
0
Fork 0
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:
nex3 2007-11-18 00:36:39 +00:00
parent 0404547f36
commit 4c243a146e

View file

@ -307,7 +307,7 @@ module Sass
end
if filename =~ /\.css$/
nodes << Tree::ValueNode.new("@import #{filename}", @options[:style])
nodes << Tree::ValueNode.new("@import url(#{filename});", @options[:style])
else
File.open(filename) do |file|
new_options = @options.dup