mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Add extra line break to generated Sass for readability
This commit is contained in:
parent
d17fad41e5
commit
235eb09451
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module Sass
|
||||||
|
|
||||||
class RuleNode
|
class RuleNode
|
||||||
def to_sass(tabs, opts = {})
|
def to_sass(tabs, opts = {})
|
||||||
str = "#{' ' * tabs}#{rule}\n"
|
str = "\n#{' ' * tabs}#{rule}\n"
|
||||||
|
|
||||||
children.each do |child|
|
children.each do |child|
|
||||||
str << "#{child.to_sass(tabs + 1, opts)}"
|
str << "#{child.to_sass(tabs + 1, opts)}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue