Fixed erroneous indentation of output for attribute-less Sass rules.
Thanks again to Tom Stuart! git-svn-id: svn://hamptoncatlin.com/haml/trunk@426 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
1081049de8
commit
bf57ea77eb
|
@ -50,7 +50,8 @@ module Sass::Tree
|
|||
end
|
||||
end
|
||||
|
||||
sub_rules.each { |sub| to_return << sub.to_s(tabs + 1, total_rule) }
|
||||
tabs += 1 unless attributes.empty?
|
||||
sub_rules.each { |sub| to_return << sub.to_s(tabs, total_rule) }
|
||||
to_return
|
||||
end
|
||||
end
|
||||
|
|
|
@ -12,3 +12,10 @@
|
|||
font-weight: bold;
|
||||
|
||||
float: left; }
|
||||
|
||||
#right .header {
|
||||
border-style: solid; }
|
||||
#right .body {
|
||||
border-style: dotted; }
|
||||
#right .footer {
|
||||
border-style: dashed; }
|
||||
|
|
|
@ -13,3 +13,11 @@
|
|||
:size 2em
|
||||
:weight bold
|
||||
:float left
|
||||
|
||||
#right
|
||||
.header
|
||||
:border-style solid
|
||||
.body
|
||||
:border-style dotted
|
||||
.footer
|
||||
:border-style dashed
|
||||
|
|
Loading…
Reference in New Issue