1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] [SCSS] Properly render empty directives.

This commit is contained in:
Nathan Weizenbaum 2009-12-26 20:03:55 -08:00
parent 6cb3137c0a
commit d1101de427

View file

@ -50,7 +50,7 @@ module Sass
# but some (e.g. @page) take selector-like arguments # but some (e.g. @page) take selector-like arguments
expr || selector expr || selector
end end
node = node(Sass::Tree::DirectiveNode.new("#{name} #{val.strip}")) node = node(Sass::Tree::DirectiveNode.new("#{name} #{val}".strip))
if raw '{' if raw '{'
block_contents(node) block_contents(node)