mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
This fixes the "blank line is not ignored" bug that has been around for a while.
This was reported by Steve Ross. git-svn-id: svn://hamptoncatlin.com/haml/branches/edge@108 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
5a5914f852
commit
fcc7b01ba7
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ module Haml
|
|||
count, line = count_soft_tabs(line)
|
||||
suppress_render = handle_multiline(count, line, index)
|
||||
|
||||
if !suppress_render && count && line
|
||||
if !suppress_render && count && line && (line.strip.size > 0)
|
||||
count, line = process_line(count, line, index)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue