mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Making a small bit of logic a small bit more clear.
This commit is contained in:
parent
c8e8f6ec06
commit
d77e383dc8
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ END
|
|||
line.spaces, line.tabs = count_soft_tabs(text)
|
||||
|
||||
if line.text.empty?
|
||||
process_indent(old_line) unless !flat? || old_line.text.empty?
|
||||
process_indent(old_line) if flat? && !old_line.text.empty?
|
||||
|
||||
unless flat?
|
||||
newline
|
||||
|
|
Loading…
Add table
Reference in a new issue