1
0
Fork 0
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:
Nathan Weizenbaum 2008-05-02 00:10:49 -07:00
parent c8e8f6ec06
commit d77e383dc8

View file

@ -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